Navigation
API > API/Plugins > API/Plugins/GameplayCameras
Describes the type of auto-rotate.
| Name | ECameraAutoRotateDirection |
| Type | enum |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Nodes/Input/AutoRotateInput2DCameraNode.h |
| Include Path | #include "Nodes/Input/AutoRotateInput2DCameraNode.h" |
Syntax
enum ECameraAutoRotateDirection
{
Facing,
Movement,
MovementOrFacing,
}
Values
| Name | Remarks |
|---|---|
| Facing | Re-align towards the evaluation context's facing. |
| Movement | Re-align towards the evaluation context's movement direction. |
| MovementOrFacing | Re-align towards the evaluation context's movement direction if there is movement, or towards its facing otherwise. |