Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/System
Warnings * a call to BeginUpdate must be paired with a call to EndUpdate once the returned data has been processed.
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/System.h |
| Include | #include "MuR/System.h" |
| Source | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Private/MuR/System.cpp |
const Instance &42; BeginUpdate
&40;
Instance::ID InstanceID,
const Ptr< const Parameters > & Params,
int32 StateIndex,
uint32 LodMask
&41;
Remarks
A call to BeginUpdate must be paired with a call to EndUpdate once the returned data has been processed. 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 | Description |
|---|---|
| instanceID | The id of the instance to update, as created by a NewInstance call. |
| pParams | 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). |