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
captureSequence
The captured sequence of poses and common gesture data that represent the hand expression to be simulated when toggled by an input action.
Declaration
public XRHandCaptureSequence captureSequence { get; set; }
Property Value
| Type | Description |
|---|---|
| XRHandCaptureSequence |
See Also
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 |
sequenceType
The sequence type whether single-frame or multi-frame.
Declaration
public SimulatedHandExpression.SequenceType sequenceType { get; set; }
Property Value
| Type | Description |
|---|---|
| SimulatedHandExpression.SequenceType |
See Also
toggleInput
The input to trigger the simulated hand expression.
Declaration
public XRInputButtonReader toggleInput { get; set; }
Property Value
| Type | Description |
|---|---|
| XRInputButtonReader |