UDynamicMeshSculptTool

Dynamic Mesh Sculpt Tool Class

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/DynamicMeshSculptTool.h

Include

#include "DynamicMeshSculptTool.h"

Syntax

UCLASS()
class UDynamicMeshSculptTool : public UMeshSurfacePointTool

Remarks

Dynamic Mesh Sculpt Tool Class

Variables

Name Description

Public variable UProperty

TObjectPtr< UDy...

 

BrushProperties

Properties that control brush size/etc

Public variable UProperty

TObjectPtr< UFi...

 

GizmoProperties

Public variable UProperty

TObjectPtr< UKe...

 

KelvinBrushProperties

Public variable UProperty

TObjectPtr< UBr...

 

RemeshProperties

Properties that control dynamic remeshing

Public variable UProperty

TObjectPtr< USc...

 

SculptMaxBrushProperties

Public variable UProperty

TObjectPtr< UDy...

 

SculptProperties

Properties that control sculpting

Public variable UProperty

TObjectPtr< UDy...

 

SculptToolActions

Public variable UProperty

TObjectPtr< UMe...

 

ViewProperties

Constructors

Name Description

Public function

UDynamicMeshSculptTool()

Functions

Overridden from UMeshSurfacePointTool

Name Description

Public function Virtual

bool

 

HitTest

(
    const FRay& Ray,
    FHitResult& OutHit
)

Public function Virtual

void

 

OnBeginDrag

(
    const FRay& Ray
)

This function is called when the user begins a click-drag-release interaction

Public function Virtual

void

 

OnEndDrag

(
    const FRay& Ray
)

This function is called when the user releases the button driving a click-drag-release interaction

Public function Virtual

void

 

OnUpdateDrag

(
    const FRay& Ray
)

This function is called each frame that the user is in a click-drag-release interaction

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

Public function Virtual

void

 

OnPropertyModified

(
    UObject* PropertySet,
    FProperty* Property
)

Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes

Public function Virtual

void

 

OnTick

(
    float DeltaTime
)

Action support/system

Public function Virtual

void

 

RegisterActions

(
    FInteractiveToolActionSet& ActionS...
)

Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction.

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Register InputBehaviors, etc

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Overridden from IHoverBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

BeginHoverSequenceHitTest

(
    const FInputDeviceRay& PressPos
)

Do hover hit-test

Public function Virtual

bool

 

OnUpdateHover

(
    const FInputDeviceRay& DevicePos
)

Update active hover sequence with new input position

Enums

Name

Description

Private enum

EPendingWorkPlaneUpdate

Typedefs

Name

Description

FFrame3d