Class SimulatedHandExpression
A hand expression that can be simulated by performing an input action.
Implements
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[Serializable]
public class SimulatedHandExpression : ISerializationCallbackReceiver
Properties
icon
Sprite icon for the simulated hand expression.
Declaration
public Sprite icon { get; }
Property Value
Type | Description |
---|---|
Sprite |
isQuickAction
Whether or not this expression appears in the quick action list in the simulator.
Declaration
public bool isQuickAction { get; set; }
Property Value
Type | Description |
---|---|
bool |
name
The name of the hand expression to simulate when the input action is performed.
Declaration
public string name { get; }
Property Value
Type | Description |
---|---|
string |
toggleInput
The input to trigger the simulated hand expression.
Declaration
public XRInputButtonReader toggleInput { get; set; }
Property Value
Type | Description |
---|---|
XRInputButtonReader |