Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMorphTarget
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/MorphTarget.h |
Include | #include "Animation/MorphTarget.h" |
Syntax
class UMorphTarget : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< class USkeletalMesh > | BaseSkelMesh | USkeletalMesh that this vertex animation works on. |
![]() |
TArray< FMorphTargetLODModel > | MorphLODModels | Morph mesh vertex data for each LOD |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMorphTarget
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TUniquePtr< FFinishBuildMorphTargetData > | Factory function to define type of FinishBuildData needed | |
![]() ![]() |
void | DeclareCustomVersions
(
FArchive& Ar, |
|
![]() ![]() |
void | ||
![]() ![]() ![]() |
const TArray< FMorphTargetLODModel > & | Morph mesh vertex data for each LOD | |
![]() ![]() |
TArray< FMorphTargetLODModel > & | Morph mesh vertex data for each LOD | |
![]() ![]() ![]() |
const FMorphTargetDelta * | GetMorphTargetDelta
(
int32 LODIndex, |
Get Morphtarget Delta array for the given input Index |
![]() ![]() ![]() |
bool | HasDataForLOD
(
int32 LODIndex |
|
![]() ![]() ![]() |
bool | HasDataForSection
(
int32 LODIndex, |
Return true if this morphtarget contains data for section within LOD |
![]() ![]() ![]() |
bool | HasValidData () |
Return true if this morphtarget contains valid vertices |
![]() ![]() |
void | PopulateDeltas
(
const TArray< FMorphTargetDelta >& Deltas, |
Populates the given morph target LOD model with the provided deltas |
![]() ![]() |
void | Remove empty LODModels | |
![]() ![]() |
void | SerializeMemoryArchive
(
FMemoryArchive& Ar |
UObject does not support serialization via FMemoryArchive, so manually handle separately |
![]() ![]() ![]() |
bool | Return true if this morph target uses engine built-in compression |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | No longer in use, will be deleted. Whether to discard vertex data is now determined during cooking instead of loading. |