Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- UMultiSelectionTool
- UMultiSelectionMeshEditingTool
- UTransformMeshesTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/TransformMeshesTool.h |
| Include | #include "TransformMeshesTool.h" |
Syntax
UCLASS&40;&41;
class UTransformMeshesTool :
public UMultiSelectionMeshEditingTool,
public IClickDragBehaviorTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FTransformMeshesTarget > | ActiveGizmos | ||
| int | ActiveSnapDragIndex | ||
| bool | bCurrentlyDragging | Can't just use ActiveSnapDragIndex to replace this bool, because the former gets set while checking for capture. | |
| ETransformMeshesTransformMode | CurTransformMode | ||
| TObjectPtr< UDragAlignmentMechanic > | DragAlignmentMechanic | ||
| UE::Geometry::FFrame3d | StartDragFrameWorld | ||
| FTransform | StartDragTransform | ||
| TObjectPtr< UTransformMeshesToolProperties > | TransformProps |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | |||
| void | SetActiveGizmos_Single
(
bool bLocalRotations |
||
| void | UpdateSetPivotModes
(
bool bEnableSetPivot |
||
| void | UpdateTransformMode
(
ETransformMeshesTransformMode NewMode |
Overridden from UMultiSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | RegisterActions
(
FInteractiveToolActionSet& ActionSet |
Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. | |
| 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 |
Overridden from IClickDragBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
Test if target can begin click-drag interaction at this point | |
| void | OnClickDrag
(
const FInputDeviceRay& DragPos |
Notify Target that input position has changed | |
| void | OnClickPress
(
const FInputDeviceRay& PressPos |
Notify Target that click press ocurred | |
| void | OnClickRelease
(
const FInputDeviceRay& ReleasePos |
Notify Target that click release occurred | |
| void | Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) |