Enum LazyFollow.RotationFollowMode
Defines the possible rotation follow modes for the lazy follow object.
Namespace: UnityEngine.XR.Interaction.Toolkit.UI
Syntax
public enum RotationFollowMode
Fields
Name | Description | Value |
---|---|---|
None | The lazy follow object will not follow any rotation. |
0 |
LookAt | The lazy follow object will rotate to face the target (designed for use with main camera as the target), maintaining its orientation relative to the target. |
1 |
LookAtWithWorldUp | The lazy follow object will rotate to face the target (designed for use with main camera as the target), maintaining its orientation relative to the target. The up direction will be locked to the world up. |
2 |
Follow | The object will smoothly maintain the same rotation as the target. |
3 |