docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRFeatureDescriptor

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

    Namespace: UnityEngine.InputSystem.XR
    Syntax
    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>
    In This Article
    • Fields
      • customSize
      • featureType
      • name
      • usageHints
    Back to top
    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