Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/FSystem
Warnings * a call to BeginUpdate must be paired with a call to EndUpdate once the returned data has been processed.
Description
A call to BeginUpdate must be paired with a call to EndUpdate once the returned data has been processed.
| Name | BeginUpdate |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/System.h |
| Include Path | #include "MuR/System.h" |
| Source | /Engine/Plugins/Mutable/Source/MutableRuntime/Private/MuR/System.cpp |
TSharedPtr < const FInstance > BeginUpdate
(
FInstance::FID InstanceID,
const TSharedPtr < const FParameters > & Params,
int32 StateIndex,
uint32 LodMask
)
the instance data with all the LOD, components, and ids to generate the meshes and images. The returned Instance is only valid until the next call to EndUpdate with the same instanceID parameter.
Parameters
| Name | Remarks |
|---|---|
| InstanceID | The id of the instance to update, as created by a NewInstance call. |
| Params | The parameters that customise this instance. |
| StateIndex | The index of the state this instance will be set to. The states range from 0 to Model::GetStateCount-1 |
| LodMask | Bitmask selecting the levels of detail to build (i-th bit selects i-th lod). |