Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
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
| Type | Name | Description | |
|---|---|---|---|
| UGizmoViewContext * | 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
| Type | Name | Description | |
|---|---|---|---|
FIntervalGizmoActorFactory
(
UGizmoViewContext* GizmoViewContextIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| AIntervalGizmoActor * | CreateNewGizmoActor
(
UWorld* World |