FIntervalGizmoActorFactory

[FIntervalGizmoActorFactory](API\Runtime\InteractiveToolsFramework\BaseGizmos\FIntervalGizmoActorFactory) creates new instances of [AIntervalGizmoActor](API\Runtime\InteractiveToolsFramework\BaseGizmos\AIntervalGizmoActor) which are used by [UIntervalGizmo](API\Runtime\InteractiveToolsFramework\BaseGizmos\UIntervalGizmo) to implement 3D interval Gizmos.

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

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

Include

#include "BaseGizmos/IntervalGizmo.h"

Syntax

class FIntervalGizmoActorFactory

Remarks

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.

Variables

Name Description

Protected variable

UGizmoViewConte...

 

GizmoViewContext

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).

Constructors

Name Description

Public function

FIntervalGizmoActorFactory

(
    UGizmoViewContext* GizmoViewCo...
)

Functions

Name Description

Public function Virtual Const

AIntervalGiz...

 

CreateNewGizmoActor

(
    UWorld* World
)