#include <IntervalGizmo.h>
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.
◆ FIntervalGizmoActorFactory()
| FIntervalGizmoActorFactory::FIntervalGizmoActorFactory |
( |
UGizmoViewContext * |
GizmoViewContextIn | ) |
|
|
inline |
◆ CreateNewGizmoActor()
- Parameters
-
| World | the UWorld to create the new Actor in |
- Returns
- new AIntervalGizmoActor instance with members initialized with Components suitable for a transformation Gizmo
◆ 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).
The documentation for this class was generated from the following file:
- Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/IntervalGizmo.h