UGizmoWorldAxisSource

[UGizmoWorldAxisSource](API\Runtime\InteractiveToolsFramework\BaseGizmos\UGizmoWorldAxisSource) is an [IGizmoAxisSource](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoAxisSource) that provides one of the World axes (ie X/Y/Z axes) based on an integer AxisIndex in range [0,2].

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGizmoWorldAxisSource

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/AxisSources.h

Include

#include "BaseGizmos/AxisSources.h"

Syntax

class UGizmoWorldAxisSource :
    public UObject,
    public IGizmoAxisSource

Remarks

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.

Variables

Name Description

Public variable

int

 

AxisIndex

Clamped internally to 0,1,2

Public variable

FVector

 

Origin

Functions

Name Description

Public function Static

UGizmoWorldA...

 

Construct

(
    const FVector& WorldOrigin,
    int WorldAxisIndex,
    UObject* Outer
)

Overridden from IGizmoAxisSource

Name Description

Public function Virtual Const

FVector

 

GetDirection()

Public function Virtual Const

FVector

 

GetOrigin()