OVRGazePointer Class Reference
UI pointer driven by gaze input. More...
Inheritance diagram for OVRGazePointer:

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()
|
virtual |
Implements OVRCursor.
◆ SetCursorStartDest()
|
virtual |
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
|
get |
Current scale applied to pointer
◆ hidden
|
get |
Is gaze pointer current visible
◆ instance
|
staticget |
◆ SelectionProgress
|
getset |
◆ 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:
- Oculus/VR/Scripts/Util/OVRGazePointer.cs