UBaseCreateFromSelectedTool::ConvertInputsAndSetPreviewMaterials

[UBaseCreateFromSelectedTool](API\Plugins\ModelingComponents\BaseTools\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.

Windows
MacOS
Linux

Override Hierarchy

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/BaseTools/BaseCreateFromSelectedTool.h

Include

#include "BaseTools/BaseCreateFromSelectedTool.h"

Syntax

virtual void ConvertInputsAndSetPreviewMaterials
(
    bool bSetPreviewMesh
)

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

Parameter

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

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