Navigation
API > API/Plugins > API/Plugins/MeshLODToolset > API/Plugins/MeshLODToolset/UGenerateStaticMeshLODProcess
Description
Initialize the Process, this will:
- read the Source Mesh, either LOD0 or the HiRes LOD if available
- Extract all Materials and Textures from the Source Asset and determine what needs to be baked
- Read all the Source Texture Images that need to be baked
- call InitializeGenerator() to set up the compute graph
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/Editor/MeshLODToolset/Source/MeshLODToolset/Public/Graphs/GenerateStaticMeshLODProcess.h |
| Include Path | #include "Graphs/GenerateStaticMeshLODProcess.h" |
| Source | /Engine/Plugins/Editor/MeshLODToolset/Source/MeshLODToolset/Private/Graphs/GenerateStaticMeshLODProcess.cpp |
bool Initialize
(
UStaticMesh * SourceMesh,
FProgressCancel * Progress
)