UGizmoEditorAxisSource

[UGizmoEditorAxisSource](API\Editor\EditorInteractiveToolsFramework\EditorGizmos\UGizmoEditorAxisSource) is an [IGizmoAxisSource](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoAxisSource) implementation that provides one of the X/Y/Z axes of the Level Editor local coordinate system, mapped to World, based on an integer AxisIndex in range [0,2].

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGizmoEditorAxisSource

References

Module

EditorInteractiveToolsFramework

Header

/Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorAxisSources.h

Include

#include "EditorGizmos/EditorAxisSources.h"

Syntax

class UGizmoEditorAxisSource :
    public UObject,
    public IGizmoAxisSource

Remarks

UGizmoEditorAxisSource is an IGizmoAxisSource implementation that provides one of the X/Y/Z axes of the Level Editor local coordinate system, mapped to World, based on an integer AxisIndex in range [0,2]. The Axis Origin is the Level Editor's pivot location.

Variables

Name Description

Public variable

int

 

AxisIndex

Clamped internally to 0,1,2

Public variable

bool

 

bLocalAxes

If false, returns World axes

Functions

Name Description

Public function Static

UGizmoEditor...

 

Construct

(
    int LocalAxisIndex,
    bool bUseLocalAxes,
    UObject* Outer
)

Overridden from IGizmoAxisSource

Name Description

Public function Virtual Const

FVector

 

GetDirection()

Public function Virtual Const

FVector

 

GetOrigin()