API reference

ControllerPinchInjector Class

Extends MonoBehaviour
Use this component with a HandGrabAPI so it uses the Controller trigger (index finger) and grip (middle finger) to drive the FingerAPIs.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.GrabAPI.ControllerPinchInjector._started

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.GrabAPI.ControllerPinchInjector.Awake()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.GrabAPI.ControllerPinchInjector.Start()
Returns
void

Methods

InjectAll ( handGrabAPI , controller )
Signature
void Oculus.Interaction.GrabAPI.ControllerPinchInjector.InjectAll(HandGrabAPI handGrabAPI, IController controller)
Parameters
handGrabAPI: HandGrabAPI
controller: IController
Returns
void
InjectController ( controller )
Signature
void Oculus.Interaction.GrabAPI.ControllerPinchInjector.InjectController(IController controller)
Parameters
controller: IController
Returns
void
InjectHandGrabAPI ( handGrabAPI )
Signature
void Oculus.Interaction.GrabAPI.ControllerPinchInjector.InjectHandGrabAPI(HandGrabAPI handGrabAPI)
Parameters
handGrabAPI: HandGrabAPI
Returns
void