docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.OpenXR.Features
    Syntax
    [Serializable]
    protected class 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>

    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 UnityEngine.XR.InputDevice.TryGetFeatureValue(UnityEngine.XR.InputFeatureUsage{System.Boolean},System.Boolean@)

    Declaration
    public List<string> usages
    Field Value
    Type Description
    List<String>
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023