SnapInteractor Class
SnapInteractors can snap to poses provided by SnapInteractables.
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.
float DistanceThreshold[Get]
virtual override void Awake ( )
virtual override void Start ( )
virtual override void OnEnable ( )
virtual override void OnDisable ( )
virtual override bool ComputeShouldSelect ( )
virtual override bool ComputeShouldUnselect ( )
virtual override void DoHoverUpdate ( )
virtual override void DoSelectUpdate ( )
override void InteractableSet
override void InteractableUnset
override void InteractableSelected
override void InteractableUnselected
virtual void HandlePointerEventRaised
virtual override void DoPreprocess ( )
Pose ComputePointerPose ( )
void InjectAllSnapInteractorRigidbody rigidbody )
Sets all required values for a <cref="SnapInteractor" /> on a dynamically instantiated GameObject.
void InjectPointableElement 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 InjectOptionalTimeOutInteractable Sets a time out interactable on a dynamically instantiated GameObject.
void InjectOptionaTimeOut ( float timeOut )
Sets a timeout on a dynamically instantiated GameObject.