Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/FInstance
Description
Find the base surface index and Lod index when reusing surfaces between LODs. Return the surface index and the LOD it belongs to.
| Name | FindBaseSurfaceBySharedId |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/Instance.h |
| Include Path | #include "MuR/Instance.h" |
| Source | /Engine/Plugins/Mutable/Source/MutableRuntime/Private/MuR/Instance.cpp |
void FindBaseSurfaceBySharedId
(
int32 ComponentIndex,
int32 SharedId,
int32 & OutSurfaceIndex,
int32 & OutLODIndex
) const
Parameters
| Name | Remarks |
|---|---|
| ComponentIndex | Index of the component, from 0 to GetComponentCount()-1 |
| SharedSurfaceId | Id of the surface to look for (as returned by GetSharedSurfaceId). |
| OutSurfaceIndex | Index of the surface in the OutLODIndex lod. |
| OutLODIndex | Index of the first LOD where the surface can be found. |