Navigation
API > API/Plugins > API/Plugins/MeshModelingTools > API/Plugins/MeshModelingTools/UCSGMeshesTool
- UBaseCreateFromSelectedTool::ConvertInputsAndSetPreviewMaterials()
- UCSGMeshesTool::ConvertInputsAndSetPreviewMaterials()
References
Module | MeshModelingTools |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/CSGMeshesTool.h |
Include | #include "CSGMeshesTool.h" |
Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Private/CSGMeshesTool.cpp |
virtual void ConvertInputsAndSetPreviewMaterials
&40;
bool bSetPreviewMesh
&41;
Remarks
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.
Parameters
Name | Description |
---|---|
bSetPreviewMesh | If true, function may try to set an initial "early" preview mesh to have some initial surface on tool start. (Not all tools will actually create this.) This boolean is here in case a subclass needs to call this setup function again later (e.g. to change the materials used), when it won't need or want the preview surface to be created |