Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/ModelReader
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/Serialisation.h |
| Include | #include "MuR/Serialisation.h" |
OPERATION_ID BeginReadBlock
(
const mu::Model *,
uint32 BlockKey,
void * Buffer,
uint64 size,
TFunction< void(bool bSuccess)> * CompletionCallback
)
Remarks
Start a data request operation. a previously unused identifier, now used for this operation, that can be used in calls to the other methods of this interface. If the return value is negative it indicates an unrecoverable error.
Parameters
| Name | Description |
|---|---|
| Model. | |
| key0 | key identifying the model data fragment that is requested. This key interpretation depends on the implementation of the ModelStreamer, |
| Buffer | is an already-allocated buffer big enough to receive the expected data. |
| size | is the size of the pBuffer buffer, which must match the size of the data requested with the key identifiers. |
| CompletionCallback | Optional callback. Copied inside the called function. Will always be called. |