Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- UMultiSelectionTool
- UMultiSelectionMeshEditingTool
- UPlaneCutTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/PlaneCutTool.h |
| Include | #include "PlaneCutTool.h" |
Syntax
UCLASS&40;&41;
class UPlaneCutTool : public UMultiSelectionMeshEditingTool
Remarks
Simple Mesh Plane Cutting Tool
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UPlaneCutToolProperties > | BasicProperties | ||
| FViewCameraState | CameraState | ||
| UE::Geometry::FFrame3d | CutPlaneWorld | Cutting plane. | |
| TArray< TObjectPtr< UDynamicMeshReplacementChangeTarget > > | MeshesToCut | ||
| TArray< float > | MeshUVScaleFactor | UV Scale factor is cached based on the bounding box of the mesh before any cuts are performed, so you don't get inconsistent UVs if you multi-cut the object to smaller sizes. | |
| EPlaneCutToolActions | PendingAction | ||
| TObjectPtr< UConstructionPlaneMechanic > | PlaneMechanic | ||
| TArray< TObjectPtr< UMeshOpPreviewWithBackgroundCompute > > | Previews | ||
| friend | UPlaneCutOperatorFactory |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Cut () |
Action buttons. | |
| void | DoCut () |
||
| void | DoFlipPlane () |
||
| void | FlipPlane () |
Flip the cutting plane (Hotkey: R) | |
| void | GenerateAsset
(
const TArray< FDynamicMeshOpResult >& Results |
||
| void | |||
| void |
Overridden from UMultiSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| 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 UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |