Navigation
API > API/Plugins > API/Plugins/RigLogicModule > API/Plugins/RigLogicModule/USkelMeshDNAUtils
Description
Sets DNA Reader either from old version of UDNAAsset or new UDNA, because the reader is widely used so having that in function can be useful.
Pass ERigLogicInitPolicy::Defer when this call is immediately followed by another operation that rebuilds the runtime context (e.g. RestoreLegacyUEMHCCompatibility).
| Name | SetDNAReader |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicModule/Public/SkelMeshDNAUtils.h |
| Include Path | #include "SkelMeshDNAUtils.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicModule/Private/SkelMeshDNAUtils.cpp |
static void SetDNAReader
(
USkeletalMesh * InSkelMesh,
TSharedPtr < IDNAReader > InDNAReader,
EDNACopyPolicy CopyPolicy,
ERigLogicInitPolicy InitPolicy
)