Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/CombinedTransformGizmo.h |
| Include | #include "BaseGizmos/CombinedTransformGizmo.h" |
Syntax
class FCombinedTransformGizmoActorFactory
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| ETransformGizmoSubElements | EnableElements | Only these members of the ACombinedTransformGizmoActor gizmo will be initialized | |
| UGizmoViewContext * | GizmoViewContext | 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. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCombinedTransformGizmoActorFactory
(
UGizmoViewContext* GizmoViewContextIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ACombinedTransformGizmoActor * | CreateNewGizmoActor
(
UWorld* World |