UDeformMeshPolygonsTool

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

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

Include

#include "DeformMeshPolygonsTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UDeformMeshPolygonsTool : public UMeshSurfacePointTool

Variables

Name Description

Protected variable

FPlane

 

ActiveDragPlane

Protected variable

FFrame3d

 

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

USimpleDynamicM...

 

DynamicMeshComponent

Protected variable

FToolDataVisual...

 

HilightRenderer

Protected variable

FGroupTopologyS...

 

HilightSelection

Data for current drag

Protected variable

FGroupTopologyL...

 

LaplacianDeformer

Protected variable

FVector

 

LastBrushPosLocal

Protected variable

FVector

 

LastHitPosWorld

Protected variable

FVector3d

 

LastMoveDelta

Protected variable

FGroupTopologyD...

 

LinearDeformer

The two deformer type options.

Protected variable

FDynamicMeshAAB...

 

MeshSpatial

Protected variable

FDelegateHandle

 

OnDynamicMeshComponentChangedHandle

Protected variable

FToolDataVisual...

 

PolyEdgesRenderer

Protected variable

FQuickAxisRotat...

 

QuickAxisRotator

Protected variable

FQuickAxisTrans...

 

QuickAxisTranslater

Protected variable

FFrame3d

 

RotationStartFrame

Protected variable

FVector3d

 

RotationStartPointWorld

Protected variable

FVector

 

StartBrushPosLocal

Protected variable

FVector

 

StartHitNormalWorld

Protected variable

FVector

 

StartHitPosWorld

Protected variable

FGroupTopology

 

Topology

Protected variable

FGroupTopologyS...

 

TopoSelector

Protected variable UProperty

UDeformMeshPoly...

 

TransformProps

Protected variable

FRay

 

UpdateRay

Public variable

float

 

VisualAngleSnapThreshold

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

 

CanAccept()

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

 

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

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Allow the Tool to do any necessary processing on Tick

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