Class XRBaseInputInteractor.LogicalInputState
Interpreted input from an input reader. Represents the logical state of an interaction input, such as the select input, which may not be the same as the physical state of the input.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public class XRBaseInputInteractor.LogicalInputState
Properties
| Name | Description |
|---|---|
| active | Whether the logical input state is currently active. |
| isPerformed | Read whether the button is currently performed, which typically means whether the button is being pressed. This is typically true for multiple frames. |
| mode | The type of input |
| wasPerformedThisFrame | Read whether the button performed this frame, which typically means whether the button started being pressed during this frame. This is typically only true for one single frame. |
| wasUnperformedThisFrame | Read whether the button stopped performing this frame, which typically means whether the button stopped being pressed during this frame. This is typically only true for one single frame. |