Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
UEditorTransformGizmoSource is an ITransformGizmoSource implementation that provides current state information used to configure the Editor transform gizmo.
| Name | UEditorTransformGizmoSource |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorTransformGizmoSource.h |
| Include Path | #include "EditorGizmos/EditorTransformGizmoSource.h" |
Syntax
UCLASS (MinimalAPI)
class UEditorTransformGizmoSource :
public UObject ,
public ITransformGizmoSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEditorTransformGizmoSource
Implements Interfaces
Functions
Public
Overridden from ITransformGizmoSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanInteract
(
const EViewportContext InViewportContext |
Returns whether the gizmo can interact. | EditorGizmos/EditorTransformGizmoSource.h | |
virtual EAxisList::Type GetGizmoAxisToDraw
(
EGizmoTransformMode InWidgetMode |
EditorGizmos/EditorTransformGizmoSource.h | ||
virtual EToolContextCoordinateSystem GetGizmoCoordSystemSpace() |
EditorGizmos/EditorTransformGizmoSource.h | ||
virtual EGizmoTransformMode GetGizmoMode() |
EditorGizmos/EditorTransformGizmoSource.h | ||
virtual float GetGizmoScale() |
Returns a scale factor for the gizmo | EditorGizmos/EditorTransformGizmoSource.h | |
virtual const FRotationContext & GetRotationContext() |
Get rotation context | EditorGizmos/EditorTransformGizmoSource.h | |
virtual EGizmoTransformScaleType GetScaleType() |
Get current scale type | EditorGizmos/EditorTransformGizmoSource.h | |
virtual bool GetVisible
(
const EViewportContext InViewportContext |
Whether the gizmo is visible | EditorGizmos/EditorTransformGizmoSource.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FEditorModeTools & GetModeTools() |
EditorGizmos/EditorTransformGizmoSource.h | ||
const FEditorViewportClient * GetViewportClient
(
const EViewportContext InViewportContext |
EditorGizmos/EditorTransformGizmoSource.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UEditorTransformGizmoSource * CreateNew
(
UObject* Outer, |
EditorGizmos/EditorTransformGizmoSource.h |