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

OVRControllerHelper Class

Extends MonoBehaviour, InputSource
Simple helper script that conditionally enables rendering of a controller if it is connected.

Fields

The root GameObject that represents the Oculus Touch for Quest And RiftS Controller model (Left).
The root GameObject that represents the Oculus Touch for Quest And RiftS Controller model (Right).
The root GameObject that represents the Oculus Touch for Rift Controller model (Left).
The root GameObject that represents the Oculus Touch for Rift Controller model (Right).
The root GameObject that represents the Oculus Touch for Quest 2 Controller model (Left).
The root GameObject that represents the Oculus Touch for Quest 2 Controller model (Right).
The root GameObject that represents the Meta Touch Pro Controller model (Left).
The root GameObject that represents the Meta Touch Pro Controller model (Right).
The root GameObject that represents the Meta Quest Plus Controller model (Left).
The root GameObject that represents the Meta Quest Plus Controller model (Right).
The controller that determines whether or not to enable rendering of the controller model.
Determines if the controller should be hidden based on held state.
If controller driven hand poses is on, and the mode is Natural, controllers will be hidden unless this is true.
An optional component for provind shell like ray functionality - highlighting where you're selecting in the UI and responding to pinches / button presses.

Member Functions

void InputFocusAquired ( )
void InputFocusLost ( )
bool IsPressed ( )
bool IsReleased ( )
Transform GetPointerRayTransform ( )
bool IsValid ( )
bool IsActive ( )
OVRPlugin.Hand GetHand ( )
void UpdatePointerRay
( OVRInputRayData rayData )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon