Navigation
Unreal Engine C++ API Reference > Plugins > RigLogicLib > dna > Writer
References
Module | RigLogicLib |
Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/Writer.h |
Include | #include "dna/Writer.h" |
Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/dna/Writer.cpp |
virtual void setFrom
&40;
const Reader &42; source,
DataLayer layer,
UnknownLayerPolicy policy,
MemoryResource &42; memRes
&41;
Remarks
This function copies all the data from the given Reader into the Writer instance, by calling each getter function of the Reader, and passing the return values to the matching setter functions in the Writer. It is implemented in the abstract class itself to provide the functionality for all DNA Writers.
Parameters
Name | Description |
---|---|
source | The source DNAReader from which the data needs to be copied. |
layer | Limit which layers should be taken over from the given source reader. |
policy | Specify whether unknown layers are to be preserved or just ignored. |
memRes | Optional memory resource to use for temporary allocations during copying. |