docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method CreateHand

    CreateHand(InputDeviceCharacteristics)

    Creates a MetaAimHand and adds it to the Input System.

    Declaration
    public static MetaAimHand CreateHand(InputDeviceCharacteristics extraCharacteristics)
    Parameters
    Type Name Description
    InputDeviceCharacteristics extraCharacteristics

    Additional characteristics to build the hand device with besides HandTracking and TrackedDevice.

    Returns
    Type Description
    MetaAimHand

    A MetaAimHand retrieved from AddDevice(InputDeviceDescription).

    Remarks

    It is recommended that you do not call this yourself. It will be called for you at the appropriate time if hand-tracking has been enabled and if you are running with either the OpenXR or Oculus plug-in.

    In This Article
    Back to top
    Copyright © 2023 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)