Navigation
API > API/Plugins > API/Plugins/MeshLODToolset > API/Plugins/MeshLODToolset/Graphs > API/Plugins/MeshLODToolset/Graphs/UGenerateStaticMeshLODProcess
References
| Module | MeshLODToolset |
| Header | /Engine/Plugins/Editor/MeshLODToolset/Source/MeshLODToolset/Public/Graphs/GenerateStaticMeshLODProcess.h |
| Include | #include "Graphs/GenerateStaticMeshLODProcess.h" |
| Source | /Engine/Plugins/Editor/MeshLODToolset/Source/MeshLODToolset/Private/Graphs/GenerateStaticMeshLODProcess.cpp |
bool Initialize
(
UStaticMesh * SourceMesh,
FProgressCancel * Progress
)
Remarks
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