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

Cursor Class

Extends OVRCursor
This is a MonoBehaviour for the cursor UI element that's used on all panels of Immersive Debugger.
It's inheriting from the OVRCursor and will be ray casting the "PanelLayer" specified in the settings. For more info about Immersive Debugger, check out the official doc

Properties

GameObject GameObject[Get]
Transform Transform[Get]

Member Functions

Overriding the SetCursorStartDest from OVRCursor, setting the starting point and the destination point of the cursor.
Parameters
start
Vector3 of the starting point position
dest
Vector3 of the destination point position
normal
Vector3 representing the normal of the cursor
Overriding the SetCursorRay from OVRCursor, setting the transform of the cursor ray.
Parameters
t
Transform that's used to set the cursor's starting point and forward direction
void SetClickState
( PointerEventData.FramePressState state )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon