API reference

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

Methods

SetClickState ( state )
Signature
void SetClickState(PointerEventData.FramePressState state)
Parameters
state: PointerEventData.FramePressState
Returns
void
SetCursorRay ( t )
Overriding the SetCursorRay from OVRCursor, setting the transform of the cursor ray.
Signature
override void SetCursorRay(Transform t)
Parameters
t: Transform  Transform that's used to set the cursor's starting point and forward direction
Returns
override void
SetCursorStartDest ( start , dest , normal )
Overriding the SetCursorStartDest from OVRCursor, setting the starting point and the destination point of the cursor.
Signature
override void SetCursorStartDest(Vector3 start, Vector3 dest, Vector3 normal)
Parameters
start: Vector3  Vector3 of the starting point position
dest: Vector3  Vector3 of the destination point position
normal: Vector3  Vector3 representing the normal of the cursor
Returns
override void