Navigation
API > API/Editor > API/Editor/ViewportInteraction
Rotation around one axis based on input angle.
| Name | URotateOnAngleDragOperation |
| Type | class |
| Header File | /Engine/Source/Editor/ViewportInteraction/Public/ViewportInteractionDragOperations.h |
| Include Path | #include "ViewportInteractionDragOperations.h" |
Syntax
UCLASS ()
class URotateOnAngleDragOperation : public UViewportDragOperation
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportDragOperation → URotateOnAngleDragOperation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URotateOnAngleDragOperation() |
ViewportInteractionDragOperations.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DraggingRotationHandleDirection | TOptional< FVector > | The direction of where the rotation handle is facing when starting rotation | ViewportInteractionDragOperations.h | |
| LocalIntersectPointOnRotationGizmo | FVector | Where the laser intersected on the gizmo rotation aligned plane. | ViewportInteractionDragOperations.h | |
| StartDragAngleOnRotation | TOptional< float > | Starting angle when rotating an object with ETransformGizmoInteractionType::RotateOnAngle | ViewportInteractionDragOperations.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector GetLocalIntersectPointOnRotationGizmo () |
When RotateOnAngle we intersect on a plane to rotate the transform gizmo. | ViewportInteractionDragOperations.h |
Overridden from UViewportDragOperation
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ExecuteDrag
(
FDraggingTransformableData& DraggingData |
Execute dragging | ViewportInteractionDragOperations.h |