Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. VR
  5. setVRTeleButton

setVRTeleButton

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Set the VR teleport button to one of:

  • Triggers
  • MainTrigger
  • SecondaryTrigger
  • Start
  • One
  • Two
  • Three
  • Four
  • PrimaryThumb
  • SecondaryThumb
  • TouchL
  • TouchR

Parameters:

  • name
    • A string value

Example:

1
obj.setVRTeleButton(name)
Tags
Was this article helpful to you? Yes No

How can we help?