UI pointer driven by gaze input. More...

Inheritance diagram for OVRGazePointer:
OVRCursor

Public Member Functions

void Awake ()
 
override void SetCursorStartDest (Vector3 _, Vector3 pos, Vector3 normal)
 Set position and orientation of pointer More...
 
override void SetCursorRay (Transform ray)
 
void RequestHide ()
 Request the pointer be hidden More...
 
void RequestShow ()
 Request the pointer be shown. Hide requests take priority More...
 

Public Attributes

bool hideByDefault = true
 
float showTimeoutPeriod = 1
 
float hideTimeoutPeriod = 0.1f
 
bool dimOnHideRequest = true
 
float depthScaleMultiplier = 0.03f
 
bool matchNormalOnPhysicsColliders
 
Transform rayTransform
 The gaze ray. More...
 

Properties

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

Detailed Description

UI pointer driven by gaze input.

Member Function Documentation

◆ Awake()

void OVRGazePointer.Awake ( )

◆ RequestHide()

void OVRGazePointer.RequestHide ( )

Request the pointer be hidden

◆ RequestShow()

void OVRGazePointer.RequestShow ( )

Request the pointer be shown. Hide requests take priority

◆ SetCursorRay()

override void OVRGazePointer.SetCursorRay ( Transform  ray)
virtual

Implements OVRCursor.

◆ SetCursorStartDest()

override void OVRGazePointer.SetCursorStartDest ( Vector3  _,
Vector3  pos,
Vector3  normal 
)
virtual

Set position and orientation of pointer

Parameters
pos
normal

Implements OVRCursor.

Member Data Documentation

◆ depthScaleMultiplier

float OVRGazePointer.depthScaleMultiplier = 0.03f

◆ dimOnHideRequest

bool OVRGazePointer.dimOnHideRequest = true

◆ hideByDefault

bool OVRGazePointer.hideByDefault = true

◆ hideTimeoutPeriod

float OVRGazePointer.hideTimeoutPeriod = 0.1f

◆ matchNormalOnPhysicsColliders

bool OVRGazePointer.matchNormalOnPhysicsColliders

◆ rayTransform

Transform OVRGazePointer.rayTransform

The gaze ray.

◆ showTimeoutPeriod

float OVRGazePointer.showTimeoutPeriod = 1

Property Documentation

◆ currentScale

float OVRGazePointer.currentScale
get

Current scale applied to pointer

◆ hidden

bool OVRGazePointer.hidden
get

Is gaze pointer current visible

◆ instance

OVRGazePointer OVRGazePointer.instance
staticget

◆ SelectionProgress

float OVRGazePointer.SelectionProgress
getset

◆ visibilityStrength

float OVRGazePointer.visibilityStrength
get

Used to determine alpha level of gaze cursor. Could also be used to determine cursor size, for example, as the cursor fades out.


The documentation for this class was generated from the following file: