Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp
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 | UShapeSprayTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/ShapeSprayTool.h |
| Include Path | #include "ShapeSprayTool.h" |
Syntax
UCLASS (Transient)
class UShapeSprayTool : public UDynamicMeshBrushTool
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → USingleSelectionTool → UMeshSurfacePointTool → UBaseBrushTool → UDynamicMeshBrushTool → UShapeSprayTool
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IHoverBehaviorTarget
- IInputBehaviorSource
- IInteractiveToolCameraFocusAPI
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UShapeSprayTool() |
ShapeSprayTool.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetWorld
(
UWorld* World |
ShapeSprayTool.h |
Overridden from UMeshSurfacePointTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnBeginDrag
(
const FRay& Ray |
UMeshSurfacePointTool API. | ShapeSprayTool.h | |
virtual void OnEndDrag
(
const FRay& Ray |
ShapeSprayTool.h | ||
virtual void OnUpdateDrag
(
const FRay& Ray |
ShapeSprayTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
ShapeSprayTool.h | ||
virtual bool HasAccept() |
ShapeSprayTool.h | ||
virtual bool HasCancel() |
ShapeSprayTool.h | ||
| ShapeSprayTool.h | |||
virtual void Setup() |
ShapeSprayTool.h | ||
virtual void Shutdown
(
EToolShutdownType ShutdownType |
ShapeSprayTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EmitResult() |
ShapeSprayTool.h | ||
void SplatShape
(
const UE::Geometry::FFrame3d& LocalFrame, |
ShapeSprayTool.h | ||
void UpdateShapeMesh() |
ShapeSprayTool.h |