UCSGMeshesTool

Simple Mesh Plane Cutting Tool

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

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

Include

#include "CSGMeshesTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UCSGMeshesTool : public UBaseCreateFromSelectedTool

Remarks

Simple Mesh Plane Cutting Tool

Variables

Name Description

Protected variable

TArray< int >

 

CreatedBoundaryEdges

For visualization of any errors in the currently-previewed CSG operation

Protected variable UProperty

UCSGMeshesToolP...

 

CSGProperties

Protected variable UProperty

ULineSetCompone...

 

DrawnLineSet

Protected variable

TArray< TShared...

 

OriginalDynamicMeshes

Constructors

Name Description

Public function

UCSGMeshesTool()

Functions

Name Description

Protected function

void

 

UpdateVisualization()

Overridden from UBaseCreateFromSelectedTool

Name Description

Protected function Virtual

void

 

ConvertInputsAndSetPreviewMaterials

(
    bool bSetPreviewMesh
)

UBaseCreateFromSelectedTool API - subclasses typically implement these functions After preview is created, this is called to convert inputs and set preview materials (grouped together because materials may come from inputs) Subclasses should always implement this.

Protected function Virtual Const

FText

 

GetActionName()

Return the name of the action to be used in the Undo stack

Protected function Virtual Const

FString

 

GetCreatedAssetName()

Return the name to be used for generated assets.

Protected function Virtual

void

 

SaveProperties()

Overload to save any added properties in the subclasses; called on shutdown

Protected function Virtual

void

 

SetPreviewCallbacks()

Optional overload to set callbacks on preview, e.g. to visualize results; called after preview is created.

Protected function Virtual

void

 

SetupProperties()

Overload to initialize any added properties in subclasses; called during setup

Overridden from UInteractiveTool

Name Description

Protected function Virtual

void

 

OnPropertyModified

(
    UObject* PropertySet,
    FProperty* Property
)

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

Overridden from IDynamicMeshOperatorFactory

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