docs.unity3d.com
Search Results for

    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
    Assembly: Unity.InputSystem.dll
    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
    uint

    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>
    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)