UDeformMeshPolygonsTool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

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

Include

#include "DeformMeshPolygonsTool.h"

Syntax

UCLASS()
class UDeformMeshPolygonsTool : public UMeshSurfacePointTool

Variables

Name Description

Protected variable

FPlane

 

ActiveDragPlane

Protected variable

UE::Geometry::F...

 

ActiveSurfaceFrame

Protected variable

FMeshVertexChan...

 

ActiveVertexChange

Protected variable

bool

 

bInDrag

True for the duration of UI click+drag.

Protected variable

bool

 

bSpatialDirty

This is true when the spatial index needs to reflect a modification.

Protected variable

bool

 

bUpdatePending

Protected variable

FViewCameraStat...

 

CameraState

Camera state at last render

Protected variable

EGroupTopologyD...

 

DeformationStrategy

Protected variable UProperty

TObjectPtr< UDy...

 

DynamicMeshComponent

Protected variable

FToolDataVisual...

 

HilightRenderer

Protected variable

FGroupTopologyS...

 

HilightSelection

Data for current drag

Protected variable

TPimplPtr< FGro...

 

LaplacianDeformer

Protected variable

FVector

 

LastBrushPosLocal

Protected variable

FVector

 

LastHitPosWorld

Protected variable

FVector3d

 

LastMoveDelta

Protected variable

UE::Geometry::F...

 

LinearDeformer

The two deformer type options.

Protected variable

UE::Geometry::F...

 

MeshSpatial

Protected variable

FDelegateHandle

 

OnDynamicMeshComponentChangedHandle

Protected variable

FToolDataVisual...

 

PolyEdgesRenderer

Protected variable UProperty

TObjectPtr< AIn...

 

PreviewMeshActor

Protected variable

UE::Geometry::F...

 

QuickAxisRotator

Protected variable

UE::Geometry::F...

 

QuickAxisTranslater

Protected variable

UE::Geometry::F...

 

RotationStartFrame

Protected variable

FVector3d

 

RotationStartPointWorld

Protected variable

FVector

 

StartBrushPosLocal

Protected variable

FVector

 

StartHitNormalWorld

Protected variable

FVector

 

StartHitPosWorld

Protected variable UProperty

TObjectPtr< UWo...

 

TargetWorld

Protected variable

FGroupTopology

 

Topology

Protected variable

FGroupTopologyS...

 

TopoSelector

Protected variable UProperty

TObjectPtr< UDe...

 

TransformProps

Protected variable

FRay

 

UpdateRay

Public variable

float

 

VisualAngleSnapThreshold

Protected variable

UE::Geometry::F...

 

WorldTransform

Constructors

Name Description

Public function

UDeformMeshPolygonsTool()

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()

Protected 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

bool

 

OnUpdateHover

(
    const FInputDeviceRay& DevicePos
)

Update active hover sequence with new input position