USubdividePolyTool

Tool actual

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsEditorOnly

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnly/Public/SubdividePolyTool.h

Include

#include "SubdividePolyTool.h"

Syntax

UCLASS()
class USubdividePolyTool : public USingleSelectionMeshEditingTool

Remarks

Tool actual

Variables

Name Description

Protected variable

bool

 

bPreviewGeometryNeedsUpdate

Protected variable

TSharedPtr< UE:...

 

OriginalMesh

Input mesh.

Protected variable UProperty

TObjectPtr< UPr...

 

PreviewGeometry

Protected variable UProperty

TObjectPtr< UPr...

 

PreviewMesh

Protected variable UProperty

TObjectPtr< USu...

 

Properties

Functions

Name Description

Protected function

void

 

CapSubdivisionLevel

(
    ESubdivisionScheme Scheme,
    int DesiredLevel
)

Protected function

bool

 

CheckGroupTopology

(
    FText& Message
)

Determine if the mesh group topology can be used for Catmull-Clark or Bilinear subdivision.

Protected function

void

 

CreateOrUpdatePreviewGeometry()

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

Public function Virtual

void

 

OnTick

(
    float DeltaTime
)

Action support/system

Public function Virtual

void

 

Setup()

Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool