Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStaticMeshSourceModel
Description
Tries to initialize a MeshDescription into the given FMeshDescription object, returning whether it was successful. It will try the following steps in order to obtain it:
- if there's valid StaticMeshDescriptionBulkData, unpack it from that
- if there's a valid DDC entry from a previously converted RawMesh, load it and unpack it
- if there's a valid RawMesh, convert it to MeshDescription and return that. If all the above failed, then return failure.
| Name | LoadMeshDescription |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMeshSourceData.h |
| Include Path | #include "Engine/StaticMeshSourceData.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMeshSourceData.cpp |
bool LoadMeshDescription
(
FMeshDescription & OutMeshDescription
) const