UMorphTarget

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/MorphTarget.h

Include

#include "Animation/MorphTarget.h"

Syntax

class UMorphTarget : public UObject

Variables

Name Description

Public variable

USkeletalMesh &...

 

BaseSkelMesh

USkeletalMesh that this vertex animation works on.

Public variable

TArray< FMorphT...

 

MorphLODModels

Morph mesh vertex data for each LOD

Constructors

Name Description

Public function

UMorphTarget

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

FMorphTarget...

 

GetMorphTargetDelta

(
    int32 LODIndex,
    int32& OutNumDeltas
)

Get Morphtarget Delta array for the given input Index

Public function

bool

 

HasDataForLOD

(
    int32 LODIndex
)

Public function Const

bool

 

HasValidData()

Return true if this morphtarget contains valid vertices

Public function

void

 

PopulateDeltas

(
    const TArray< FMorphTargetDelta >&...,
    const int32 LODIndex,
    const TArray< struct FSkelMeshSecti...,
    const bool bCompareNormal,
    const bool bGeneratedByReductionSet...
)

Populates the given morph target LOD model with the provided deltas

Public function

void

 

RemoveEmptyMorphTargets()

Remove empty LODModels

Overridden from UObject

Name Description

Public function Virtual

void

 

GetResourceSizeEx

(
    FResourceSizeEx& CumulativeResourc...
)

Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific).

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback