Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UMoverDataCollectionLibrary
Description
Retrieves data from a collection, by writing to a target instance if it contains one of the matching type. Changes must be written back using AddDataToCollection.
| Name | K2_GetDataFromCollection |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverTypes.h |
| Include Path | #include "MoverTypes.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoverTypes.cpp |
UFUNCTION (BlueprintCallable, CustomThunk, Category="Mover|Data",
Meta=(CustomStructureParam="TargetAsRawBytes", AllowAbstract="false", DisplayName="Get Data From Collection"))
static void K2_GetDataFromCollection
(
bool & DidSucceed,
const FMoverDataCollection & Collection,
int32 & TargetAsRawBytes
)
Parameters
| Name | Remarks |
|---|---|
| DidSucceed | Flag indicating whether data was actually written to target struct instance |
| TargetAsRawBytes | The data struct instance to write to, which must be a FMoverDataStructBase sub-type |