Class TimedGazePointer
A concrete implementation of BasePointer that triggers interaction on hover, after a specified time delay and duration has passed.
Implements
Inherited Members
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 SourceTimedGazePointer(IVRDeviceComponent)
Declaration
public TimedGazePointer(IVRDeviceComponent deviceComponent)
Parameters
Type | Name | Description |
---|---|---|
IVRDeviceComponent | deviceComponent |
Properties
| Improve this Doc View SourceHoverActivationDuration
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 |
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 |
HoverDuration
Returns the length of time the pointer has been hovering over
Declaration
public float HoverDuration { get; }
Property Value
Type | Description |
---|---|
System.Single |
HoverPressTriggered
Indicates if the hover press has been triggered.
Declaration
public bool HoverPressTriggered { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HoverTimeNormalized
Gets the normalized progress of the current hover.
Declaration
public float HoverTimeNormalized { get; }
Property Value
Type | Description |
---|---|
System.Single |
HoverTimeToActivation
Gets the amount of time until
Declaration
public float HoverTimeToActivation { get; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceGetButtonDown()
Declaration
public override bool GetButtonDown()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceGetButtonUp()
Declaration
public override bool GetButtonUp()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceOnPointerEnter(GameObject)
Declaration
public override void OnPointerEnter(GameObject target)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.GameObject | target |
Overrides
| Improve this Doc View SourceOnPointerExit(GameObject)
Declaration
public override void OnPointerExit(GameObject target)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.GameObject | target |