OVRControllerHelper Class
Extends MonoBehaviour, InputSource
Simple helper script that conditionally enables rendering of a controller if it is connected.
GameObject m_modelOculusTouchQuestAndRiftSLeftController[Get]
The root GameObject that represents the
Oculus Touch for Quest And RiftS Controller model (Left).
GameObject m_modelOculusTouchQuestAndRiftSRightController[Get]
The root GameObject that represents the
Oculus Touch for Quest And RiftS Controller model (Right).
GameObject m_modelOculusTouchRiftLeftController[Get]
The root GameObject that represents the
Oculus Touch for Rift Controller model (Left).
GameObject m_modelOculusTouchRiftRightController[Get]
The root GameObject that represents the
Oculus Touch for Rift Controller model (Right).
GameObject m_modelOculusTouchQuest2LeftController[Get]
The root GameObject that represents the
Oculus Touch for Quest 2 Controller model (Left).
GameObject m_modelOculusTouchQuest2RightController[Get]
The root GameObject that represents the
Oculus Touch for Quest 2 Controller model (Right).
GameObject m_modelMetaTouchProLeftController[Get]
The root GameObject that represents the
Meta Touch Pro Controller model (Left).
GameObject m_modelMetaTouchProRightController[Get]
The root GameObject that represents the
Meta Touch Pro Controller model (Right).
GameObject m_modelMetaTouchPlusLeftController[Get]
The root GameObject that represents the
Meta Quest Plus Controller model (Left).
GameObject m_modelMetaTouchPlusRightController[Get]
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.
OVRInput.InputDeviceShowState m_showState[Get]
Determines if the controller should be hidden based on held state.
bool showWhenHandsArePoweredByNaturalControllerPoses[Get]
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.
void InputFocusAquired ( )
Transform GetPointerRayTransform ( )
OVRPlugin.Hand GetHand ( )