Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
UGizmoWorldAxisSource is an IGizmoAxisSource that provides one of the World axes (ie X/Y/Z axes) based on an integer AxisIndex in range [0,2]. The Orgin is internally stored as a FProperty.
| Name | UGizmoWorldAxisSource |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/AxisSources.h |
| Include Path | #include "BaseGizmos/AxisSources.h" |
Syntax
UCLASS (MinimalAPI)
class UGizmoWorldAxisSource :
public UObject ,
public IGizmoAxisSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoWorldAxisSource
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisIndex | int | Clamped internally to 0,1,2 | BaseGizmos/AxisSources.h | |
| Origin | FVector | BaseGizmos/AxisSources.h |
Functions
Public
Overridden from IGizmoAxisSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector GetDirection() |
BaseGizmos/AxisSources.h | ||
virtual FVector GetOrigin() |
BaseGizmos/AxisSources.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UGizmoWorldAxisSource * Construct
(
const FVector& WorldOrigin, |
BaseGizmos/AxisSources.h |