Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- USingleClickTool
- UAddPatchTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/AddPatchTool.h |
| Include | #include "AddPatchTool.h" |
Syntax
UCLASS&40;&41;
class UAddPatchTool :
public USingleClickTool,
public IHoverBehaviorTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< UE::Geometry::FDynamicMesh3 > | BaseMesh | ||
| bool | bPreviewValid | ||
| TObjectPtr< UNewMeshMaterialProperties > | MaterialProperties | ||
| TObjectPtr< UPreviewMesh > | PreviewMesh | ||
| UE::Geometry::FFrame3f | ShapeFrame | ||
| TObjectPtr< UAddPatchToolProperties > | ShapeSettings | ||
| UWorld * | TargetWorld | ||
| FBox | WorldBounds |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GeneratePlane
(
UE::Geometry::FDynamicMesh3* OutMesh |
||
| void | |||
| void | |||
| void | |||
| void | UpdatePreviewPosition
(
const FInputDeviceRay& ClickPos |
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 | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Register default primary-button-click InputBehaviors | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |
Overridden from IClickBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| void | OnClicked
(
const FInputDeviceRay& ClickPos |
Click the Target at this 2D position / 3D ray. Default behavior is to print debug string. |
Overridden from IHoverBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | BeginHoverSequenceHitTest
(
const FInputDeviceRay& PressPos |
Do hover hit-test | |
| void | OnBeginHover
(
const FInputDeviceRay& DevicePos |
Initialize hover sequence at given position | |
| void | OnEndHover () |
Terminate active hover sequence | |
| bool | OnUpdateHover
(
const FInputDeviceRay& DevicePos |
Update active hover sequence with new input position |