Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMorphTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/MorphTarget.h |
| Include Path | #include "Animation/MorphTarget.h" |
Syntax
UCLASS (HideCategories=Object, MinimalAPI)
class UMorphTarget : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMorphTarget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMorphTarget
(
const FObjectInitializer& ObjectInitializer |
Animation/MorphTarget.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseSkelMesh | TObjectPtr< class USkeletalMesh > | USkeletalMesh that this vertex animation works on. | Animation/MorphTarget.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< FFinishBuildMorphTargetData > CreateFinishBuildMorphTargetData() |
Factory function to define type of FinishBuildData needed | Animation/MorphTarget.h | |
virtual void DiscardVertexData() |
Discard CPU Buffers after render resources have been created. | Animation/MorphTarget.h | |
virtual void EmptyMorphLODModels() |
Animation/MorphTarget.h | ||
virtual FString GetCustomImportedSourceFilename
(
int32 LODIndex |
Animation/MorphTarget.h | ||
virtual const TArray< FMorphTargetLODModel > & GetMorphLODModels () |
Morph mesh vertex data for each LOD | Animation/MorphTarget.h | |
virtual TArray< FMorphTargetLODModel > & GetMorphLODModels () |
Morph mesh vertex data for each LOD | Animation/MorphTarget.h | |
virtual const FMorphTargetDelta * GetMorphTargetDelta
(
int32 LODIndex, |
Get Morphtarget Delta array for the given input Index | Animation/MorphTarget.h | |
virtual bool HasDataForLOD
(
int32 LODIndex |
Animation/MorphTarget.h | ||
virtual bool HasDataForSection
(
int32 LODIndex, |
Return true if this morphtarget contains data for section within LOD | Animation/MorphTarget.h | |
virtual bool HasValidData() |
Return true if this morphtarget contains valid vertices | Animation/MorphTarget.h | |
virtual bool IsCustomImported
(
int32 LODIndex |
Return true if this morphtarget was custom imported from a file | Animation/MorphTarget.h | |
virtual bool IsGeneratedByEngine
(
int32 LODIndex |
Return true if this morphtarget was generated by an engine tool | Animation/MorphTarget.h | |
virtual void PopulateDeltas
(
const TArray< FMorphTargetDelta >& Deltas, |
Populates the given morph target LOD model with the provided deltas | Animation/MorphTarget.h | |
virtual void RemoveEmptyMorphTargets() |
Remove empty LODModels | Animation/MorphTarget.h | |
virtual void SerializeMemoryArchive
(
FMemoryArchive& Ar |
UObject does not support serialization via FMemoryArchive, so manually handle separately | Animation/MorphTarget.h | |
virtual void SetCustomImportedSourceFilename
(
int32 LODIndex, |
Animation/MorphTarget.h | ||
virtual void SetGeneratedByEngine
(
int32 LODIndex, |
Animation/MorphTarget.h | ||
virtual bool UsesBuiltinMorphTargetCompression() |
Return true if this morph target uses engine built-in compression | Animation/MorphTarget.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Animation/MorphTarget.h | ||
virtual void Serialize
(
FArchive& Ar |
Animation/MorphTarget.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/MorphTarget.h |