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 Methods

ComputePointerPose ()
Signature
abstract Pose Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.ComputePointerPose()
Returns
abstract Pose
DoPostprocess ()
Signature
override void Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.DoPostprocess()
Returns
override void
GeneratePointerEvent ( pointerEventType , interactable )
Signature
void Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.GeneratePointerEvent(PointerEventType pointerEventType, TInteractable interactable)
Parameters
pointerEventType: PointerEventType
interactable: TInteractable
Returns
void
HandlePointerEventRaised ( evt )
Signature
virtual void Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.HandlePointerEventRaised(PointerEvent evt)
Parameters
Returns
void
InteractableSelected ( interactable )
Signature
override void Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.InteractableSelected(TInteractable interactable)
Parameters
interactable: TInteractable
Returns
override void
InteractableSet ( interactable )
Signature
override void Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.InteractableSet(TInteractable interactable)
Parameters
interactable: TInteractable
Returns
override void
InteractableUnselected ( interactable )
Signature
override void Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.InteractableUnselected(TInteractable interactable)
Parameters
interactable: TInteractable
Returns
override void
InteractableUnset ( interactable )
Signature
override void Oculus.Interaction.PointerInteractor< TInteractor, TInteractable >.InteractableUnset(TInteractable interactable)
Parameters
interactable: TInteractable
Returns
override void