Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/Instance
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/Instance.h |
| Include | #include "MuR/Instance.h" |
| Source | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Private/MuR/Instance.cpp |
FResourceID GetMeshId
&40;
int32 lod,
int32 comp,
int32 mesh
&41; const
Remarks
Get a mesh resource id from a component an ummodifiable pointer to the requested mesh. The returned object is guaranteed to be alive only while this instance is alive. The ownership of the returned object remains in the instance, so it should not be deleted.
Parameters
| Name | Description |
|---|---|
| lod | Index of the level of detail, from 0 to GetLODCount()-1 |
| comp | Index of the component, from 0 to GetComponentCount(lod)-1 |
| mesh | Index of the mesh, from 0 to GetMeshCount(lod,comp,surf)-1 |