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

PointerInteractor Class

PointerInteractor provides a base template for any kind of interaction which can be characterized as, "pointing at something." Interactors of this kind, examples of which include PokeInteractor and RayInteractor, emit PointerEvents which describe their behavior during interaction, in addition to the signals and data provided by Interactor<TInteractor, TInteractable>s.
Like Interactor<TInteractor, TInteractable>, this type has a curiously recurring generic argument TInteractor , which should be the concrete interactor type which derives from this type and is uniquely associated with TInteractable .

Protected Functions

void GeneratePointerEvent
( PointerEventType pointerEventType,
TInteractable interactable )
virtual void HandlePointerEventRaised
( PointerEvent evt )
virtual override void InteractableSet
( TInteractable interactable )
virtual override void InteractableUnset
( TInteractable interactable )
virtual override void InteractableSelected
( TInteractable interactable )
virtual override void InteractableUnselected
( TInteractable interactable )
virtual override void DoPostprocess ( )
abstract Pose ComputePointerPose ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon