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 |