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

OVRGazePointer Class

Extends OVRCursor
UI pointer driven by gaze input.

Fields

bool hideByDefault[Get]
float showTimeoutPeriod[Get]
float hideTimeoutPeriod[Get]
bool dimOnHideRequest[Get]
float depthScaleMultiplier[Get]
bool matchNormalOnPhysicsColliders[Get]
The gaze ray.

Properties

Is gaze pointer current visible.
Current scale applied to pointer.
static OVRGazePointer instance[Get]
Used to determine alpha level of gaze cursor.
Could also be used to determine cursor size, for example, as the cursor fades out.
float SelectionProgress[Get]

Member Functions

void Awake ( )
Set position and orientation of pointer.
Parameters
pos
normal
virtual override void SetCursorRay
( Transform ray )
Request the pointer be hidden.
Request the pointer be shown.
Hide requests take priority
Did you find this page helpful?
Thumbs up icon
Thumbs down icon