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

SnapInteractor Class

SnapInteractors can snap to poses provided by SnapInteractables.
Oculus::Interaction::SnapInteractor extends Oculus.Interaction.Interactor< SnapInteractor, SnapInteractable >.
Oculus::Interaction::SnapInteractor extends Oculus.Interaction.IRigidbodyRef.

Overview

Properties

Object Data

override void
Awake ( )
override void
Start ( )
override void
override void
override bool
override bool
override void
override void
override void
override void
override void
override void
void
override void
Pose

Public Member Functions

void
InjectAllSnapInteractor
( PointableElement pointableElement,
Rigidbody rigidbody )
Sets all required values for a <cref="SnapInteractor" /> on a dynamically instantiated GameObject.
void
Sets a <cref="PointableElement" /> on a dynamically instantiated GameObject.
void
InjectRigidbody
( Rigidbody rigidbody )
Sets a Rigidbody on a dynamically instantiated GameObject.
void
InjectOptionalSnapPoseTransform
( Transform snapPoint )
Sets a snap point on a dynamically instantiated GameObject.
void
Sets a time out interactable on a dynamically instantiated GameObject.
void
InjectOptionaTimeOut
( float timeOut )
Sets a timeout on a dynamically instantiated GameObject.

Details

Detailed Description

SnapInteractors select and unselect in response to a PointableElement. SnapInteractors hover when the PointableElement has selecting pointers and snap to the best SnapInteractable pose when the PointableElement has no more selecting pointers.

Properties

IPointableElement Oculus.Interaction.SnapInteractor.PointableElement
No description available.
Rigidbody Oculus.Interaction.SnapInteractor.Rigidbody
No description available.
Pose Oculus.Interaction.SnapInteractor.SnapPose
No description available.
float Oculus.Interaction.SnapInteractor.DistanceThreshold
No description available.

Object Data

override void Oculus.Interaction.SnapInteractor.Awake ( )
No description available.
override void Oculus.Interaction.SnapInteractor.Start ( )
No description available.
override void Oculus.Interaction.SnapInteractor.OnEnable ( )
No description available.
override void Oculus.Interaction.SnapInteractor.OnDisable ( )
No description available.
override bool Oculus.Interaction.SnapInteractor.ComputeShouldSelect ( )
No description available.
override bool Oculus.Interaction.SnapInteractor.ComputeShouldUnselect ( )
No description available.
override void Oculus.Interaction.SnapInteractor.DoHoverUpdate ( )
No description available.
override void Oculus.Interaction.SnapInteractor.DoSelectUpdate ( )
No description available.
override void Oculus.Interaction.SnapInteractor.InteractableSet
( SnapInteractable interactable )
No description available.
override void Oculus.Interaction.SnapInteractor.InteractableUnset
( SnapInteractable interactable )
No description available.
override void Oculus.Interaction.SnapInteractor.InteractableSelected
( SnapInteractable interactable )
No description available.
override void Oculus.Interaction.SnapInteractor.InteractableUnselected
( SnapInteractable interactable )
No description available.
virtual void Oculus.Interaction.SnapInteractor.HandlePointerEventRaised
( PointerEvent evt )
No description available.
override void Oculus.Interaction.SnapInteractor.DoPreprocess ( )
No description available.
Pose Oculus.Interaction.SnapInteractor.ComputePointerPose ( )
No description available.
override SnapInteractable Oculus.Interaction.SnapInteractor.ComputeCandidate ( )
No description available.

Member Functions

void Oculus.Interaction.SnapInteractor.InjectAllSnapInteractor
( PointableElement pointableElement,
Rigidbody rigidbody )
Sets all required values for a <cref="SnapInteractor" /> on a dynamically instantiated GameObject.
void Oculus.Interaction.SnapInteractor.InjectPointableElement
( PointableElement pointableElement )
Sets a <cref="PointableElement" /> on a dynamically instantiated GameObject.
void Oculus.Interaction.SnapInteractor.InjectRigidbody
( Rigidbody rigidbody )
Sets a Rigidbody on a dynamically instantiated GameObject.
void Oculus.Interaction.SnapInteractor.InjectOptionalSnapPoseTransform
( Transform snapPoint )
Sets a snap point on a dynamically instantiated GameObject.
void Oculus.Interaction.SnapInteractor.InjectOptionalTimeOutInteractable
( SnapInteractable interactable )
Sets a time out interactable on a dynamically instantiated GameObject.
void Oculus.Interaction.SnapInteractor.InjectOptionaTimeOut
( float timeOut )
Sets a timeout on a dynamically instantiated GameObject.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon