UAnimationModifier

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AnimationModifiers

Header

/Engine/Source/Editor/AnimationModifiers/Public/AnimationModifier.h

Include

#include "AnimationModifier.h"

Syntax

class UAnimationModifier : public UObject

Constructors

Name Description

Public function

UAnimationModifier()

Functions

Name Description

Protected function Static

void

 

ApplyToAll

(
    TSubclassOf< UAnimationModifier > M...,
    bool bForceApply
)

Applies all instances of the provided Modifier class to its outer Animation Sequence

Public function

void

 

ApplyToAnimationSequence

(
    UAnimSequence* InAnimationSequ...
)

Applying and reverting the modifier for the given Animation Sequence

Public function Const

bool

 

CanRevert()

Returns whether or not this modifier can be reverted, which means it will have to been applied (PreviouslyAppliedModifier != nullptr)

Protected function

const UAnimS...

 

GetAnimationSequence()

Derived class accessors to skeleton and anim sequence.

Protected function Virtual Const

int32

 

GetNativeClassRevision()

Used for natively updating the revision GUID, fairly basic and relies on config files currently

Protected function

const USkele...

 

GetSkeleton()

Public function Const

bool

 

IsLatestRevisionApplied()

Whether or not the latest compiled version of the blueprint is applied for this instance

Protected function Static

void

 

LoadModifierReferencers

(
    TSubclassOf< UAnimationModifier > M...
)

Public function

void

 

OnApply

(
    UAnimSequence* AnimationSequen...
)

Executed when the Animation is initialized (native event for debugging / testing purposes)

Public function Virtual

void

 

OnApply_Implementation

(
    UAnimSequence* AnimationSequen...
)

Public function

void

 

OnRevert

(
    UAnimSequence* AnimationSequen...
)

Public function Virtual

void

 

OnRevert_Implementation

(
    UAnimSequence* AnimationSequen...
)

Public function

void

 

RevertFromAnimationSequence

(
    UAnimSequence* InAnimationSequ...
)

Protected function

void

 

UpdateCompressedAnimationData()

Checks if the animation data has to be re-baked / compressed and does so

Protected function

void

 

UpdateNativeRevisionGuid()

Protected function

void

 

UpdateRevisionGuid

(
    UClass* ModifierClass
)

Updating of blueprint and native GUIDs

Overridden from UObject

Name Description

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

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.

Constants

Name

Description

RevertModifierObjectName