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
Syntax
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 |
---|---|
Single |
See Also
overrideGazeTimeToSelect
Enables this interactable to override the hoverTimeToSelect on a XRGazeInteractor.
Declaration
bool overrideGazeTimeToSelect { get; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
overrideTimeToAutoDeselectGaze
Enables this interactable to override the timeToAutoDeselect on a XRGazeInteractor.
Declaration
bool overrideTimeToAutoDeselectGaze { get; }
Property Value
Type | Description |
---|---|
Boolean |
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 |
---|---|
Single |