This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Unity 1.25 Reference Guide

OVRGazePointer Class Reference

UI pointer driven by gaze input.
MonoBehaviour inherited by OVRGazePointer.

Private Data Fields

Transform
float
depth ( )
Current depth of pointer from camera
float
int
How many times position has been set this frame.
Vector3
Position last frame.
float
Last time code requested the pointer be shown.
float
Last time pointer was requested to be hidden.
OVRProgressIndicator

Data Fields

bool
float
float
bool
float
Transform
The gaze ray.
float

Properties

bool
hidden ( ) [Get]
Is gaze pointer current visible
float
currentScale ( ) [Get]
Current scale applied to pointer
Vector3
positionDelta ( ) [Get]
static OVRGazePointer
instance ( ) [Get]
float
Used to determine alpha level of gaze cursor.
float

Private Static Fields

static OVRGazePointer

Public Member Functions

void
Awake ( )
void
SetPosition ( Vector3 pos, Vector3 normal )
Set position and orientation of pointer
void
SetPosition ( Vector3 pos )
SetPosition overload without normal.
float
void
Request the pointer be hidden
void
Request the pointer be shown.

Private Member Functions

void
Update ( )
void
void
Hide ( )
void
Show ( )

Object Data Documentation

Transform OVRGazePointer.trailFollower ( )
float OVRGazePointer.depth ( )
Current depth of pointer from camera
float OVRGazePointer.hideUntilTime ( )
int OVRGazePointer.positionSetsThisFrame ( )
How many times position has been set this frame.
Used to detect when there are no position sets in a frame.
Vector3 OVRGazePointer.lastPosition ( )
Position last frame.
float OVRGazePointer.lastShowRequestTime ( )
Last time code requested the pointer be shown.
Usually when pointer passes over interactive elements.
float OVRGazePointer.lastHideRequestTime ( )
Last time pointer was requested to be hidden.
Usually mouse pointer activity.
OVRProgressIndicator OVRGazePointer.progressIndicator ( )

Field Documentation

bool OVRGazePointer.hideByDefault ( )
float OVRGazePointer.showTimeoutPeriod ( )
float OVRGazePointer.hideTimeoutPeriod ( )
bool OVRGazePointer.dimOnHideRequest ( )
float OVRGazePointer.depthScaleMultiplier ( )
Transform OVRGazePointer.rayTransform ( )
The gaze ray.
float OVRGazePointer.cursorRadius ( )

Property Documentation

bool OVRGazePointer.hidden ( )
Is gaze pointer current visible
float OVRGazePointer.currentScale ( )
Current scale applied to pointer
Vector3 OVRGazePointer.positionDelta ( )
OVRGazePointer OVRGazePointer.instance ( )
float OVRGazePointer.visibilityStrength ( )
Used to determine alpha level of gaze cursor.
Could also be used to determine cursor size, for example, as the cursor fades out.
float OVRGazePointer.SelectionProgress ( )

Private Static Field Documentation

OVRGazePointer OVRGazePointer._instance ( )

Member Function Documentation

void OVRGazePointer.Awake ( )
void OVRGazePointer.SetPosition ( Vector3 pos, Vector3 normal )
Set position and orientation of pointer
pos normal
void OVRGazePointer.SetPosition ( Vector3 pos )
SetPosition overload without normal.
Just makes cursor face user pos
float OVRGazePointer.GetCurrentRadius ( )
void OVRGazePointer.RequestHide ( )
Request the pointer be hidden
void OVRGazePointer.RequestShow ( )
Request the pointer be shown.
Hide requests take priority

Object Data Documentation

void OVRGazePointer.Update ( )
void OVRGazePointer.LateUpdate ( )
void OVRGazePointer.Hide ( )
void OVRGazePointer.Show ( )
The documentation for this class was generated from the following file: OVR/Scripts/Util/OVRGazePointer.cs