docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OpenXRInteractionFeature.ActionConfig

    Declares an abstract input source bound to multiple physical input controls. XrActions are commonly contained within an ActionMapConfig as a grouped series of abstract, remappable inputs.

    Inheritance
    object
    OpenXRInteractionFeature.ActionConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.OpenXR.Features
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    [Serializable]
    protected class OpenXRInteractionFeature.ActionConfig

    Fields

    bindings

    The underlying physical input controls to use as the value for this action

    Declaration
    public List<OpenXRInteractionFeature.ActionBinding> bindings
    Field Value
    Type Description
    List<OpenXRInteractionFeature.ActionBinding>

    isAdditive

    Tag to determine if certain action is additive and could be added to the existing profiles

    Declaration
    public bool isAdditive
    Field Value
    Type Description
    bool

    localizedName

    Human readable name for the action

    Declaration
    public string localizedName
    Field Value
    Type Description
    string

    name

    The name of the action, reported into the InputSystem as the name of the control that represents the input data for this action. This name can only contain a-z lower case letters.

    Declaration
    public string name
    Field Value
    Type Description
    string

    type

    The type of data this action will report. OpenXRInteractionFeature.ActionType

    Declaration
    public OpenXRInteractionFeature.ActionType type
    Field Value
    Type Description
    OpenXRInteractionFeature.ActionType

    usages

    These will be tagged onto InputDevice features. See TryGetFeatureValue(InputFeatureUsage<bool>, out bool)

    Declaration
    public List<string> usages
    Field Value
    Type Description
    List<string>
    In This Article
    Back to top
    Copyright © 2024 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)