Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/ModelReader
- ModelReader::BeginReadBlock()
- FUnrealMutableModelBulkReader::BeginReadBlock()
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/Serialisation.h |
| Include | #include "MuR/Serialisation.h" |
OPERATION_ID BeginReadBlock
&40;
const mu::Model &42;,
uint64 key0,
void &42; pBuffer,
uint64 size,
TFunction< void(boolbSuccess)> &42; CompletionCallback
&41;
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, |
| pBuffer | 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. |