FCombinedTransformGizmoActorFactory

[FCombinedTransformGizmoActorFactory](API\Runtime\InteractiveToolsFramework\BaseGizmos\FCombinedTransfo-) creates new instances of [ACombinedTransformGizmoActor](API\Runtime\InteractiveToolsFramework\BaseGizmos\ACombinedTransformGizmoActor) which are used by [UCombinedTransformGizmo](API\Runtime\InteractiveToolsFramework\BaseGizmos\UCombinedTransformGizmo) to implement 3D transformation Gizmos.

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

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

Include

#include "BaseGizmos/CombinedTransformGizmo.h"

Syntax

class FCombinedTransformGizmoActorFactory

Remarks

FCombinedTransformGizmoActorFactory creates new instances of ACombinedTransformGizmoActor which are used by UCombinedTransformGizmo to implement 3D transformation Gizmos. An instance of FCombinedTransformGizmoActorFactory is passed to UCombinedTransformGizmo (by way of UCombinedTransformGizmoBuilder), 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 ACombinedTransformGizmoActor gizmo will be initialized

Protected variable

UGizmoViewConte...

 

GizmoViewContext

The default gizmos that we use need to have the current view information stored for them via the ITF context store so that they can figure out how big they are for hit testing, so this pointer needs to be set (and kept alive elsewhere) for the actor factory to work properly.

Constructors

Name Description

Public function

FCombinedTransformGizmoActorFactory

(
    UGizmoViewContext* GizmoViewCo...
)

Functions

Name Description

Public function Virtual Const

ACombinedTra...

 

CreateNewGizmoActor

(
    UWorld* World
)