Module |
|
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 |
void setFrom
(
const Reader * source,
DataLayer layer,
MemoryResource * memRes
)
Initialize the Writer from the given Reader. @note 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.
Parameter |
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. |
memRes |
Optional memory resource to use for temporary allocations during copying. |