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

#include <IntervalGizmo.h>

Public Member Functions

 FIntervalGizmoActorFactory (UGizmoViewContext *GizmoViewContextIn)
 
virtual AIntervalGizmoActorCreateNewGizmoActor (UWorld *World) const
 

Protected Attributes

UGizmoViewContextGizmoViewContext = nullptr
 

Detailed Description

FIntervalGizmoActorFactory creates new instances of AIntervalGizmoActor which are used by UIntervalGizmo to implement 3D interval Gizmos. An instance of FIntervalGizmoActorFactory is passed to UIntervalGizmo (by way of UIntervalGizmoBuilder), which then calls CreateNewGizmoActor() to spawn new Gizmo Actors.

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

Constructor & Destructor Documentation

◆ FIntervalGizmoActorFactory()

FIntervalGizmoActorFactory::FIntervalGizmoActorFactory ( UGizmoViewContext GizmoViewContextIn)
inline

Member Function Documentation

◆ CreateNewGizmoActor()

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

Member Data Documentation

◆ GizmoViewContext

UGizmoViewContext* FIntervalGizmoActorFactory::GizmoViewContext = nullptr
protected

Needs to be set (and kept alive elsewhere) so that created handle gizmos can adjust their length according to view (when not using world-scaling).


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