FTransformGizmoActorFactory

[FTransformGizmoActorFactory](API\Runtime\InteractiveToolsFramework\BaseGizmos\FTransformGizmoActorFactory) creates new instances of [ATransformGizmoActor](API\Runtime\InteractiveToolsFramework\BaseGizmos\ATransformGizmoActor) which are used by [UTransformGizmo](API\Runtime\InteractiveToolsFramework\BaseGizmos\UTransformGizmo) to implement 3D transformation Gizmos.

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/TransformGizmo.h

Include

#include "BaseGizmos/TransformGizmo.h"

Syntax

class FTransformGizmoActorFactory

Remarks

FTransformGizmoActorFactory creates new instances of ATransformGizmoActor which are used by UTransformGizmo to implement 3D transformation Gizmos. An instance of FTransformGizmoActorFactory is passed to UTransformGizmo (by way of UTransformGizmoBuilder), which then calls CreateNewGizmoActor() to spawn new Gizmo Actors.

By default CreateNewGizmoActor() returns a default Gizmo Actor suitable for a three-axis transformation Gizmo, override this function to customize the Actor sub-elements.

Variables

Name Description

Public variable

ETransformGizmo...

 

EnableElements

Only these members of the ATransformGizmoActor gizmo will be initialized

Functions

Name Description

Public function Virtual Const

ATransformGi...

 

CreateNewGizmoActor

(
    UWorld* World
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss