API reference
API reference
Select your platform
No SDKs available
No versions available

Input Class

Extends MonoBehaviour

Protected Fields

_initialized : bool
Signature
bool Meta.XR.Locomotion.Teleporter.Input._initialized

Protected Properties

ActiveController : Controller
[Get]
Signature
Controller Meta.XR.Locomotion.Teleporter.Input.ActiveController
LeftController : Controller
[Get][Set]
Signature
Controller Meta.XR.Locomotion.Teleporter.Input.LeftController
RightController : Controller
[Get][Set]
Signature
Controller Meta.XR.Locomotion.Teleporter.Input.RightController

Properties

ActiveHand : Hand
[Get]
Signature
Hand Meta.XR.Locomotion.Teleporter.Input.ActiveHand
ActiveJoystickPosition : Vector2
[Get]
Signature
Vector2 Meta.XR.Locomotion.Teleporter.Input.ActiveJoystickPosition
Strafe : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.Strafe
TeleportAction : Action
[Get]
Signature
Action Meta.XR.Locomotion.Teleporter.Input.TeleportAction
TeleportCancel : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.TeleportCancel
TeleportExecute : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.TeleportExecute
TeleportInit : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.TeleportInit

Events

OnResetOrientationButtonDown : System.Action
Signature
System.Action Meta.XR.Locomotion.Teleporter.Input.OnResetOrientationButtonDown
OnResetPositionButtonDown : System.Action
Signature
System.Action Meta.XR.Locomotion.Teleporter.Input.OnResetPositionButtonDown
OnTeleporterModeChangeButtonDown : System.Action
Signature
System.Action Meta.XR.Locomotion.Teleporter.Input.OnTeleporterModeChangeButtonDown

Protected Methods

ResetOrientationButtonDown ()
Signature
void Meta.XR.Locomotion.Teleporter.Input.ResetOrientationButtonDown()
Returns
void
ResetPositionButtonDown ()
Signature
void Meta.XR.Locomotion.Teleporter.Input.ResetPositionButtonDown()
Returns
void
TeleporterModeChangeButtonDown ()
Signature
void Meta.XR.Locomotion.Teleporter.Input.TeleporterModeChangeButtonDown()
Returns
void
UpdateControllerState ()
Signature
void Meta.XR.Locomotion.Teleporter.Input.UpdateControllerState()
Returns
void

Methods

Init ()
Signature
virtual void Meta.XR.Locomotion.Teleporter.Input.Init()
Returns
void
Tick ()
Signature
virtual void Meta.XR.Locomotion.Teleporter.Input.Tick()
Returns
void

Inner Classes

Activateable Class

Properties

Active : bool
[Get][Set]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.Activateable.Active
Down : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.Activateable.Down
Up : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.Activateable.Up

Controller Class

Extends Meta.XR.Locomotion.Teleporter.Input.Activateable

Constructors

Controller ( controllerEnum , joystickEnum )
Signature
Meta.XR.Locomotion.Teleporter.Input.Controller.Controller(OVRInput.Controller controllerEnum, OVRInput.Axis2D joystickEnum)
Parameters
controllerEnum: OVRInput.Controller
joystickEnum: OVRInput.Axis2D

Properties

JoystickActive : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.Controller.JoystickActive
JoystickDown : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.Controller.JoystickDown
JoystickPosition : Vector2
[Get]
Signature
Vector2 Meta.XR.Locomotion.Teleporter.Input.Controller.JoystickPosition
JoystickUp : bool
[Get]
Signature
bool Meta.XR.Locomotion.Teleporter.Input.Controller.JoystickUp

Methods

Refresh ()
Signature
void Meta.XR.Locomotion.Teleporter.Input.Controller.Refresh()
Returns
void