UAnimComposite

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Animation/AnimComposite.h"

Syntax

class UAnimComposite : public UAnimCompositeBase

Variables

Name Description

Public variable

FAnimTrack

 

AnimationTrack

Serializable data that stores section/anim pairing

Public variable

TObjectPtr< UAn...

 

PreviewBasePose

Preview Base pose for additive BlendSpace

Constructors

Name Description

Public function

UAnimComposite

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UAnimCompositeBase

Name Description

Public function Virtual

bool

 

ContainRecursive

(
    TArray< UAnimCompositeBase* > ...
)

This is recursive function that look thorough internal assets and clear the reference if recursive is found.

Public function Virtual

void

 

InvalidateRecursiveAsset()

This is to prevent anybody adding recursive asset to anim composite as a result of anim composite being a part of anim sequence base

Public function Virtual

void

 

SetCompositeLength

(
    float InLength
)

Overridden from UAnimSequenceBase

Name Description

Public function Virtual

void

 

EnableRootMotionSettingFromMontage

(
    bool bInEnableRootMotion,
    const ERootMotionRootLock::Type InR...
)

To support anim sequence base to montage

Public function Virtual Const

EAdditiveAni...

 

GetAdditiveAnimType()

Default implementation, no additive

Public function Virtual Const

UAnimSequenc...

 

GetAdditiveBasePose()

Ideally this would be animsequcnebase, but we might have some issue with that. For now, just allow AnimSequence

Public function Virtual Const

void

 

GetAnimationPose

(
    FAnimationPoseData& OutAnimationPo...,
    const FAnimExtractContext& Extract...
)

Public function Virtual Const

void

 

GetAnimNotifiesFromDeltaPositions

(
    const float& PreviousPosition,
    const float& CurrentPosition,
    FAnimNotifyContext& NotifyContext
)

Retrieves AnimNotifies between two time positions.

Public function Virtual Const

void

 

HandleAssetPlayerTickedInternal

(
    FAnimAssetTickContext& Context,
    const float PreviousTime,
    const float MoveDelta,
    const FAnimTickRecord& Instance,
    FAnimNotifyQueue& NotifyQueue
)

Public function Virtual Const

bool

 

HasRootMotion()

Public function Virtual Const

bool

 

IsNotifyAvailable()

Return true if anim notify is available

Overridden from UAnimationAsset

Name Description

Public function Virtual

bool

 

GetAllAnimationSequencesReferred

(
    TArray< UAnimationAsset* >& A...,
    bool bRecursive
)

Retrieve all animations that are used by this asset

Public function Virtual Const

bool

 

IsValidAdditive()

Return true if this is valid additive animation false otherwise

Public function Virtual

void

 

ReplaceReferredAnimations

(
    const TMap< UAnimationAsset*, ...
)

Replace this assets references to other animations based on ReplacementMap