Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingToolsEditorOnly/Public/ShapeSprayTool.h |
Include |
#include "ShapeSprayTool.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient)
class UShapeSprayTool : public UDynamicMeshBrushTool
UShapeSprayTool is a brush-based tool that generates random points on the target surface within the brush radius, and then creates small meshes at those points. The accumulated meshes are appended and can be emitted as a new StaticMeshComponent on Accept.
Name | Description | ||
---|---|---|---|
|
AccumMeshComponent |
Small meshes are accumulated here |
|
|
AssetAPI |
||
|
Random |
||
|
Settings |
||
|
ShapeMesh |
||
|
UWorld * |
TargetWorld |
|
|
TArray< int > |
VertexMap |
Name | Description | |
---|---|---|
|
UShapeSprayTool() |
Name | Description | ||
---|---|---|---|
|
EmitResult() |
||
|
SetAssetAPI ( |
||
|
SetWorld ( |
||
|
SplatShape ( |
||
|
UpdateShapeMesh() |
Name | Description | ||
---|---|---|---|
|
OnBeginDrag ( |
||
|
OnEndDrag ( |
This function is called when the user releases the button driving a click-drag-release interaction |
|
|
OnUpdateDrag ( |
This function is called each frame that the user is in a click-drag-release interaction |
Name | Description | ||
---|---|---|---|
|
CanAccept() |
||
|
HasAccept() |
||
|
HasCancel() |
||
|
OnPropertyModified |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes |
|
|
Setup() |
Register InputBehaviors, etc |
|
|
Shutdown ( |
Called by ToolManager to shut down the Tool |