docs.unity.cn
    Show / Hide Table of Contents

    Enum XRBaseGrabTransformer.RegistrationMode

    Options for the register mode of the grab transformer.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Transformers
    Syntax
    public enum RegistrationMode

    Fields

    Name Description Value
    None

    Do not automatically register with the interactable. You will need to manually add it through code or by adding a reference to startingSingleGrabTransformers or startingMultipleGrabTransformers.


    0
    Single

    Register as a grab transformer used when there is a single interactor selecting the object.


    1
    Multiple

    Register as a grab transformer used when there are multiple interactors selecting the object.


    2
    SingleAndMultiple

    Register as a grab transformer used both when there are multiple interactors selecting the object or a single interactor selecting the object.


    3
    See Also
    registrationMode
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023