Hmd[Get] When provided, the Interactor will perform an extra check to ensure nothing is blocking the line between the Hmd (head of the player) and the teleport origin (hand). | |
TeleportArc[Get] Specifies the shape of the arc used for detecting available interactables. | |
float | (Meters, World) The threshold below which distances to a interactable are treated as equal for the purposes of ranking. |
Pose | ArcOrigin[Get] The starting point of the teleport arc. |
ArcEnd[Get] | |
Pose | TeleportTarget[Get] The location to teleport to. |
Action< LocomotionEvent > | |
AcceptDestination[Get] This optional delegate method offers one chance to accept or reject a valid target destination. |
delegate bool | Delegate to accept or reject the selection of teleport destination. |
override bool | CanSelect ( TeleportInteractable interactable ) |
bool | |
void | InjectAllTeleportInteractor ( ISelector selector ) Sets all required values for a dynamically instantiated GameObject. |
void | InjectSelector ( ISelector selector ) Sets the selection mechanism for a dynamically instantiated GameObject. |
void | InjectOptionalHmd ( IHmd hmd ) Sets the HMD (Head Mounted Display) for a dynamically instantiated GameObject. |
void | InjectOptionalTeleportArc ( IPolyline teleportArc ) Sets the teleport arc for a dynamically instantiated GameObject. |
override void | Awake ( ) |
override void | Start ( ) |
override void | InteractableSelected ( TeleportInteractable interactable ) |
override TeleportInteractable | ComputeCandidate ( ) |
override int |
IHmd Oculus.Interaction.Locomotion.TeleportInteractor.Hmd |
---|
When provided, the Interactor will perform an extra check to ensure nothing is blocking the line between the Hmd (head of the player) and the teleport origin (hand). Making it impossible to teleport if the user is placing their hands behind a virtual wall. |
IPolyline Oculus.Interaction.Locomotion.TeleportInteractor.TeleportArc |
---|
Specifies the shape of the arc used for detecting available interactables. If none is provided TeleportArcGravity will be used. |
float Oculus.Interaction.Locomotion.TeleportInteractor.EqualDistanceThreshold |
---|
(Meters, World) The threshold below which distances to a interactable are treated as equal for the purposes of ranking. |
Pose Oculus.Interaction.Locomotion.TeleportInteractor.ArcOrigin |
---|
The starting point of the teleport arc. |
TeleportHit Oculus.Interaction.Locomotion.TeleportInteractor.ArcEnd |
---|
No description available.
|
Pose Oculus.Interaction.Locomotion.TeleportInteractor.TeleportTarget |
---|
The location to teleport to. If the interactor has an interactable, then that's the teleport location. Otherwise it just projects the end of the arc onto the ground and uses that as the target. |
Action<LocomotionEvent> Oculus.Interaction.Locomotion.TeleportInteractor.WhenLocomotionPerformed |
---|
No description available.
|
AcceptDestinationComputer Oculus.Interaction.Locomotion.TeleportInteractor.AcceptDestination |
---|
This optional delegate method offers one chance to accept or reject a valid target destination. It will be executed upon the current Interactable and desired target Pose in order to allow selection. Return true to allow Selection, false to disallow selection. When it is not set, it always allows to select valid interactables. |
delegate bool Oculus.Interaction.Locomotion.TeleportInteractor.AcceptDestinationComputer ( TeleportInteractable interactable, Pose destination ) |
---|
Delegate to accept or reject the selection of teleport destination. Parameters interactable The interactable the interactor wants to teleport to. destinationThe final Pose the interactor wants to move to. Returns True if the destination is accepted, false if rejected. |
override bool Oculus.Interaction.Locomotion.TeleportInteractor.CanSelect ( TeleportInteractable interactable ) |
---|
No description available.
|
bool Oculus.Interaction.Locomotion.TeleportInteractor.HasValidDestination ( ) |
---|
No description available.
|
void Oculus.Interaction.Locomotion.TeleportInteractor.InjectAllTeleportInteractor ( ISelector selector ) |
---|
Sets all required values for a dynamically instantiated GameObject. |
void Oculus.Interaction.Locomotion.TeleportInteractor.InjectSelector ( ISelector selector ) |
---|
Sets the selection mechanism for a dynamically instantiated GameObject. |
void Oculus.Interaction.Locomotion.TeleportInteractor.InjectOptionalHmd ( IHmd hmd ) |
---|
Sets the HMD (Head Mounted Display) for a dynamically instantiated GameObject. |
void Oculus.Interaction.Locomotion.TeleportInteractor.InjectOptionalTeleportArc ( IPolyline teleportArc ) |
---|
Sets the teleport arc for a dynamically instantiated GameObject. |
override void Oculus.Interaction.Locomotion.TeleportInteractor.Awake ( ) |
---|
No description available.
|
override void Oculus.Interaction.Locomotion.TeleportInteractor.Start ( ) |
---|
No description available.
|
override void Oculus.Interaction.Locomotion.TeleportInteractor.InteractableSelected ( TeleportInteractable interactable ) |
---|
No description available.
|
override TeleportInteractable Oculus.Interaction.Locomotion.TeleportInteractor.ComputeCandidate ( ) |
---|
No description available.
|
override int Oculus.Interaction.Locomotion.TeleportInteractor.ComputeCandidateTiebreaker ( TeleportInteractable a, |
---|
No description available.
|