docs.unity.cn
    Show / Hide Table of Contents

    Struct XRFeatureDescriptor

    Describes an individual input on a device, such as a trackpad, or button, or trigger.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.XR
    Syntax
    [Serializable]
    public struct XRFeatureDescriptor

    Fields

    customSize

    The overall size of the feature. This is only filled in when the featureType is Custom.

    Declaration
    public uint customSize
    Field Value
    Type Description
    UInt32

    featureType

    The type of data this feature exposes.

    Declaration
    public FeatureType featureType
    Field Value
    Type Description
    FeatureType

    name

    The name of the feature.

    Declaration
    public string name
    Field Value
    Type Description
    String

    usageHints

    The uses that this feature should represent, such as trigger, or grip, or touchpad.

    Declaration
    public List<UsageHint> usageHints
    Field Value
    Type Description
    List<UsageHint>
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on 27 March 2023
    Terms of use