Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
View align type: automatically align gizmo element towards a view.
PointOnly - Align object forward axis to view direction only, useful for symmetrical objects such as a circle PointEye - Align object forward axis to -camera view direction (camera pos - object center), align object up axis to scene view up PointScreen - Align object forward axis to scene view forward direction (view up ^ view right), align object up axis to scene view up Axial - Rotate object around up axis, minimizing angle between forward axis and view direction
| Name | EGizmoElementViewAlignType |
| Type | enum |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementShared.h |
| Include Path | #include "BaseGizmos/GizmoElementShared.h" |
Syntax
enum EGizmoElementViewAlignType
{
None,
PointOnly,
PointEye,
PointScreen,
Axial,
}
Values
| Name | Remarks |
|---|---|
| None | |
| PointOnly | |
| PointEye | |
| PointScreen | |
| Axial |