Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
IGizmoAxisSource is an interface which is used to get information about a 3D Axis. At minimum this includes a 3D Direction Vector and Origin Point. Optionally the implementation may provide two Tangent Vectors which are assumed to be mutually-orthogonal and perpendicular to the Axis Direction (ie that's the normal and the 3 vectors form a coordinate frame).
| Name | IGizmoAxisSource |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoInterfaces.h |
| Include Path | #include "BaseGizmos/GizmoInterfaces.h" |
Syntax
class IGizmoAxisSource
Derived Classes
- UGizmoComponentAxisSource
- UGizmoConstantAxisSource
- UGizmoConstantFrameAxisSource
- UGizmoWorldAxisSource
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetAxisFrame
(
FVector& PlaneNormalOut, |
Utility function that always returns a 3D coordinate system (ie plane normal and perpendicular axes). | BaseGizmos/GizmoInterfaces.h | |
FVector GetDirection() |
BaseGizmos/GizmoInterfaces.h | ||
FVector GetOrigin() |
BaseGizmos/GizmoInterfaces.h | ||
virtual void GetTangentVectors
(
FVector& TangentXOut, |
Get the two tangent vectors that are orthogonal to the Direction vector. | BaseGizmos/GizmoInterfaces.h | |
virtual bool HasTangentVectors() |
BaseGizmos/GizmoInterfaces.h |