Interface IXROverridesGazeAutoSelect
An interface that represents an interactable that provides overrides of the default values for hover to select and auto deselect.
Namespace: UnityEngine.XR.Interaction.Toolkit.Gaze
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[MovedFrom("UnityEngine.XR.Interaction.Toolkit")]
public interface IXROverridesGazeAutoSelect
Properties
gazeTimeToSelect
Number of seconds for which an XRGazeInteractor must hover over this interactable to select it if hoverToSelect is enabled.
Declaration
float gazeTimeToSelect { get; }
Property Value
Type | Description |
---|---|
float |
See Also
overrideGazeTimeToSelect
Enables this interactable to override the hoverTimeToSelect on a XRGazeInteractor.
Declaration
bool overrideGazeTimeToSelect { get; }
Property Value
Type | Description |
---|---|
bool |
See Also
overrideTimeToAutoDeselectGaze
Enables this interactable to override the timeToAutoDeselect on a XRGazeInteractor.
Declaration
bool overrideTimeToAutoDeselectGaze { get; }
Property Value
Type | Description |
---|---|
bool |
See Also
timeToAutoDeselectGaze
Number of seconds that the interactable will remain selected by a XRGazeInteractor before being automatically deselected if overrideTimeToAutoDeselectGaze is true.
Declaration
float timeToAutoDeselectGaze { get; }
Property Value
Type | Description |
---|---|
float |