UMeshVertexSculptTool

Mesh Vertex Sculpt Tool Class

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/MeshVertexSculptTool.h

Include

#include "MeshVertexSculptTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UMeshVertexSculptTool : public UMeshSculptToolBase

Remarks

Mesh Vertex Sculpt Tool Class

Variables

Name Description

Protected variable

TSet< int32 >

 

AccumulatedTriangleROI

Protected variable

FMeshVertexChan...

 

ActiveVertexChange

Protected variable

FDynamicMesh3

 

BaseMesh

Protected variable

TArray< int32 >

 

BaseMeshIndexBuffer

Protected variable

TFunction< bool...

 

BaseMeshQueryFunc

Protected variable

FDynamicMeshOct...

 

BaseMeshSpatial

Protected variable

bool

 

bCachedFreezeTarget

Protected variable

bool

 

bTargetDirty

Protected variable

bool

 

bUndoUpdatePending

Protected variable UProperty

USimpleDynamicM...

 

DynamicMeshComponent

Protected variable

TArray< int >

 

NormalsBuffer

Protected variable

FDynamicMeshOct...

 

Octree

Protected variable

FDelegateHandle

 

OnDynamicMeshComponentChangedHandle

Protected variable

EMeshVertexScul...

 

PendingStampType

Protected variable

TArray< FVector...

 

ROIPositionBuffer

Protected variable

double

 

SculptMaxFixedHeight

Public variable UProperty

UVertexBrushScu...

 

SculptProperties

Properties that control sculpting

Protected variable

TSet< int >

 

TriangleROI

Protected variable

TFuture< bool >

 

UndoNormalsFuture

Protected variable

TFuture< bool >

 

UndoUpdateBaseMeshFuture

Protected variable

TFuture< bool >

 

UndoUpdateOctreeFuture

Protected variable

TArray< int >

 

VertexROI

Protected variable

TSet< int >

 

VertexSetBuffer

Functions

Name Description

Protected function

void

 

ApplyStamp()

Protected function

void

 

BeginChange()

Protected function

void

 

EndChange()

Protected function

bool

 

GetBaseMeshNearest

(
    int32 VertexID,
    const FVector3d& Position,
    double SearchRadius,
    FVector3d& TargetPosOut,
    FVector3d& TargetNormalOut
)

Protected function

void

 

OnDynamicMeshComponentChanged

(
    USimpleDynamicMeshComponent* C...,
    const FMeshVertexChange* Chang...,
    bool bRevert
)

Realtime visualization

Protected function

void

 

SyncMeshWithPositionBuffer

(
    FDynamicMesh3* Mesh
)

Protected function

void

 

UpdateBaseMesh

(
    const TSet< int32 >* TriangleR...
)

Protected function

bool

 

UpdateBrushPosition

(
    const FRay& WorldRay
)

Protected function

void

 

UpdateBrushType

(
    EMeshVertexSculptBrushType BrushTyp...
)

Protected function

void

 

UpdateROI

(
    const FVector3d& BrushPos
)

Protected function

bool

 

UpdateStampPosition

(
    const FRay& WorldRay
)

Protected function

void

 

WaitForPendingUndoRedo()

Overridden from UMeshSculptToolBase

Name Description

Public function Virtual

void

 

DecreaseBrushSpeedAction()

Protected function Virtual

int32

 

FindHitSculptMeshTriangle

(
    const FRay3d& LocalRay
)

Protected function Virtual

int32

 

FindHitTargetMeshTriangle

(
    const FRay3d& LocalRay
)

Protected function Virtual

FDynamicMesh...

 

GetBaseMesh()

Protected function Virtual Const

const FDynam...

 

GetBaseMesh()

Protected function Virtual

UBaseDynamic...

 

GetSculptMeshComponent()

UMeshSculptToolBase API.

Public function Virtual

void

 

IncreaseBrushSpeedAction()

Client currently needs to implement these...

Protected function Virtual

void

 

OnBeginStroke

(
    const FRay& WorldRay
)

Protected function Virtual

void

 

OnEndStroke()

Protected function Virtual Const

bool

 

ShowWorkPlane()

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

 

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

bool

 

OnUpdateHover

(
    const FInputDeviceRay& DevicePos
)

Update active hover sequence with new input position

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss