UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCombinedTransformGizmoActorFactory Class Reference

#include <CombinedTransformGizmo.h>

Public Member Functions

 FCombinedTransformGizmoActorFactory (UGizmoViewContext *GizmoViewContextIn)
 
virtual INTERACTIVETOOLSFRAMEWORK_API ACombinedTransformGizmoActorCreateNewGizmoActor (UWorld *World) const
 

Public Attributes

ETransformGizmoSubElements EnableElements
 

Protected Attributes

UGizmoViewContextGizmoViewContext = nullptr
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FCombinedTransformGizmoActorFactory()

FCombinedTransformGizmoActorFactory::FCombinedTransformGizmoActorFactory ( UGizmoViewContext GizmoViewContextIn)
inline

Member Function Documentation

◆ CreateNewGizmoActor()

ACombinedTransformGizmoActor * FCombinedTransformGizmoActorFactory::CreateNewGizmoActor ( UWorld World) const
virtual
Parameters
Worldthe UWorld to create the new Actor in
Returns
new ACombinedTransformGizmoActor instance with members initialized with Components suitable for a transformation Gizmo

Member Data Documentation

◆ EnableElements

◆ GizmoViewContext

UGizmoViewContext* FCombinedTransformGizmoActorFactory::GizmoViewContext = nullptr
protected

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.


The documentation for this class was generated from the following files: