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

IndexPinchSelector Class

Extends MonoBehaviour
Broadcasts whether the hand's index finger is selecting or unselecting.
The index finger is selecting if it's pinching.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.IndexPinchSelector._started

Properties

Hand : IHand
[Get]
Signature
IHand Oculus.Interaction.IndexPinchSelector.Hand

Events

WhenSelected : Action
Signature
Action Oculus.Interaction.IndexPinchSelector.WhenSelected
WhenUnselected : Action
Signature
Action Oculus.Interaction.IndexPinchSelector.WhenUnselected

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.IndexPinchSelector.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.IndexPinchSelector.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.IndexPinchSelector.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.IndexPinchSelector.Start()
Returns
void

Methods

InjectAllIndexPinchSelector ( hand )
Signature
void Oculus.Interaction.IndexPinchSelector.InjectAllIndexPinchSelector(IHand hand)
Parameters
hand: IHand
Returns
void
InjectHand ( hand )
Signature
void Oculus.Interaction.IndexPinchSelector.InjectHand(IHand hand)
Parameters
hand: IHand
Returns
void