UDNAAsset

An asset holding the data needed to generate/update/animate a RigLogic character It is imported from character's DNA file as a bit stream, and separated out it into runtime (behavior) and design-time chunks; Currently, the design-time part still loads the geometry, as it is needed for the skeletal mesh update; once SkeletalMeshDNAReader is fully implemented, it will be able to read the geometry directly from the SkeletalMesh and won't load it into this asset

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RigLogicModule

Header

/Engine/Plugins/Animation/RigLogic/Source/RigLogicModule/Public/DNAAsset.h

Include

#include "DNAAsset.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(NotBlueprintable, HideCategories=(Object))
class UDNAAsset : public UAssetUserData

Remarks

An asset holding the data needed to generate/update/animate a RigLogic character It is imported from character's DNA file as a bit stream, and separated out it into runtime (behavior) and design-time chunks; Currently, the design-time part still loads the geometry, as it is needed for the skeletal mesh update; once SkeletalMeshDNAReader is fully implemented, it will be able to read the geometry directly from the SkeletalMesh and won't load it into this asset

Variables

Name Description

Public variable UProperty Category instanced, visibleanywhere

UAssetImportDat...

 

AssetImportData

Public variable UProperty

FString

 

DNAFileName

Constructors

Name Description

Public function

UDNAAsset()

Functions

Name Description

Public function

TSharedPtr< ...

 

GetBehaviorReader()

Public function

TSharedPtr< ...

 

GetGeometryReader()

Public function

bool

 

Init

(
    const FString& Filename
)

Public function

void

 

SetBehaviorReader

(
    TSharedPtr< IDNAReader > SourceDNAR...
)

Used when importing behavior into archetype SkelMesh in the editor, and when updating SkeletalMesh runtime with GeneSplicer

Public function

void

 

SetGeometryReader

(
    TSharedPtr< IDNAReader > SourceDNAR...
)

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss