Navigation
API > API/Plugins > API/Plugins/CustomizableObject > API/Plugins/CustomizableObject/UCustomizableObjectInstance
Description
Sets an array of LODs to generate per component. Mutable will generate those plus the currently generated LODs (if any). Requires mutable.EnableOnlyGenerateRequestedLODs and CurrentInstanceLODManagement->IsOnlyGenerateRequestedLODLevelsEnabled() to be true.
| Name | SetRequestedLODs |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObjectInstance.h |
| Include Path | #include "MuCO/CustomizableObjectInstance.h" |
| Source | /Engine/Plugins/Mutable/Source/CustomizableObject/Private/MuCO/CustomizableObjectInstance.cpp |
void SetRequestedLODs
(
const TMap < FName , uint8 > & InMinLODs,
const TMap < FName , uint8 > & InFirstRequestedLOD,
FMutableInstanceUpdateMap & InOutRequestedUpdates
)
Parameters
| Name | Remarks |
|---|---|
| InMinLODs | MinLOD to generate per Component. |
| InFirstRequestedLOD | Requested LODs per component to generate. Key is the Component name. Value represents the first LOD to generate. Zero means all LODs. |
| InOutRequestedUpdates | Map from Instance to Update data that stores a request for the Instance to be updated, which will be either processed or discarded by priority (to be rerequested the next tick) |