Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- UMultiSelectionTool
- UMultiSelectionMeshEditingTool
- UAddPivotActorTool
References
| Module | MeshModelingToolsEditorOnlyExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/AddPivotActorTool.h |
| Include | #include "AddPivotActorTool.h" |
Syntax
UCLASS ()
class UAddPivotActorTool : public UMultiSelectionMeshEditingTool
Remarks
Given selected actors, creates an empty actor as the parent of those actors, at a location specified using the gizmo. This is useful for creating a permanent alternate pivot to use in animation.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UDragAlignmentMechanic > | DragAlignmentMechanic | ||
| TWeakObjectPtr< AActor > | ExistingPivotActor | ||
| FTransform | ExistingPivotOriginalTransform | ||
| TValueWatcher< FVector > | GizmoPositionWatcher | ||
| TValueWatcher< FQuat > | GizmoRotationWatcher | ||
| TObjectPtr< UCombinedTransformGizmo > | TransformGizmo | ||
| TObjectPtr< UPivotActorTransformProperties > | TransformProperties | ||
| TObjectPtr< UTransformProxy > | TransformProxy |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GizmoTransformChanged
(
UTransformProxy* Proxy, |
||
| void | SetPivotRepositionMode
(
AActor* PivotActor |
||
| void |
Overridden from UMultiSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |