docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SimulatedHandExpression

    A hand expression that can be simulated by performing an input action.

    Inheritance
    object
    SimulatedHandExpression
    Implements
    ISerializationCallbackReceiver
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Implements

    ISerializationCallbackReceiver
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)