Show / Hide Table of Contents

Class TimedGazePointer

A concrete implementation of BasePointer that triggers interaction on hover, after a specified time delay and duration has passed.

Inheritance
System.Object
BasePointer
TimedGazePointer
Implements
IVRPointer
Inherited Members
BasePointer.IsActive
BasePointer.DeviceComponent
BasePointer.CurrentRaycastResult
BasePointer.Transform
BasePointer.ActiveStateChanged
BasePointer.Activate()
BasePointer.Deactivate()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Liminal.SDK.VR.Pointers
Assembly: Liminal.SDK.dll
Syntax
public class TimedGazePointer : BasePointer, IVRPointer

Constructors

| Improve this Doc View Source

TimedGazePointer(IVRDeviceComponent)

Declaration
public TimedGazePointer(IVRDeviceComponent deviceComponent)
Parameters
Type Name Description
IVRDeviceComponent deviceComponent

Properties

| Improve this Doc View Source

HoverActivationDuration

Gets or sets the amount of time the pointer must be hovered over an object before it is activated.

Declaration
public float HoverActivationDuration { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

HoverDelay

Gets or sets the amount of time the pointer must be hovered over an object before the timer begins.

Declaration
public float HoverDelay { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

HoverDuration

Returns the length of time the pointer has been hovering over .

Declaration
public float HoverDuration { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

HoverPressTriggered

Indicates if the hover press has been triggered.

Declaration
public bool HoverPressTriggered { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HoverTimeNormalized

Gets the normalized progress of the current hover.

Declaration
public float HoverTimeNormalized { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

HoverTimeToActivation

Gets the amount of time until will be activated due to being hovered.

Declaration
public float HoverTimeToActivation { get; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

GetButtonDown()

Declaration
public override bool GetButtonDown()
Returns
Type Description
System.Boolean
Overrides
BasePointer.GetButtonDown()
| Improve this Doc View Source

GetButtonUp()

Declaration
public override bool GetButtonUp()
Returns
Type Description
System.Boolean
Overrides
BasePointer.GetButtonUp()
| Improve this Doc View Source

OnPointerEnter(GameObject)

Declaration
public override void OnPointerEnter(GameObject target)
Parameters
Type Name Description
UnityEngine.GameObject target
Overrides
BasePointer.OnPointerEnter(GameObject)
| Improve this Doc View Source

OnPointerExit(GameObject)

Declaration
public override void OnPointerExit(GameObject target)
Parameters
Type Name Description
UnityEngine.GameObject target
Overrides
BasePointer.OnPointerExit(GameObject)

Implements

IVRPointer
  • Improve this Doc
  • View Source
Back to top Generated by DocFX