Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimMontage.h |
Include | #include "Animation/AnimMontage.h" |
Syntax
struct FAnimMontageInstance
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bDidUseMarkerSyncThisTick | Whether this in this tick's call to Advance we used marker based sync. |
![]() |
bool | bEnableAutoBlendOut | Enable auto blend out. This is instance set up. You can override |
![]() |
bool | bPlaying | |
![]() |
float | DefaultBlendTimeMultiplier | Blend Time multiplier to allow extending and narrowing blendtimes. |
![]() |
FDeltaTimeRecord | DeltaTimeRecord | Transient value of time position and delta in the last frame known |
![]() |
TArray< FPassedMarker > | MarkersPassedThisTick | Markers that passed in this tick |
![]() |
FMarkerTickRecord | MarkerTickRecord | Marker tick record |
![]() |
TObjectPtr< class UAnimMontage > | Montage | Montage reference. |
![]() |
FOnMontageBlendingOutStarted | OnMontageBlendingOutStarted | |
![]() |
FOnMontageEnded | OnMontageEnded | Delegates |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FAnimMontageInstance
(
UAnimInstance* InAnimInstance |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Reference has to be managed manually |
![]() |
void | Advance
(
float DeltaTime, |
Simulate is same as Advance, but without calling any events or touching any of the instance data. |
![]() ![]() |
bool | Return true if it can use marker sync | |
![]() |
void | ||
![]() ![]() |
const UBlendProfile * | ||
![]() ![]() |
const EBlendProfileMode | ||
![]() ![]() |
const FAlphaBlend & | GetBlend () |
Get the current blend info. |
![]() ![]() |
float | ||
![]() ![]() |
float | GetBlendTime () |
|
![]() ![]() |
FName | ||
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() ![]() |
int32 | Getters | |
![]() ![]() |
const FAnimMontageInstance * | ||
![]() ![]() |
FName | ||
![]() ![]() |
int32 | GetNextSectionID
(
int32 const& CurrentSectionID |
|
![]() ![]() |
float | GetPlayRate () |
|
![]() ![]() |
float | GetPosition () |
|
![]() ![]() |
float | ||
![]() ![]() |
FName | GetSectionNameFromID
(
int32 const& SectionID |
|
![]() ![]() |
FName | ||
![]() ![]() |
float | GetWeight () |
Get Weight |
![]() |
void | HandleEvents
(
float PreviousTrackPos, |
Delegate function handlers |
![]() |
void | Initialize
(
UAnimMontage* InMontage |
|
![]() ![]() |
bool | IsActive () |
Returns true if this montage is active (valid and not blending out) |
![]() ![]() |
bool | IsPlaying () |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsStopped () |
|
![]() ![]() |
bool | IsValid () |
|
![]() |
bool | JumpToSectionName
(
FName const& SectionName, |
|
![]() |
void | MontageSync_Follow
(
FAnimMontageInstance* NewLeaderMontageInstance |
Montage to Montage Synchronization. |
![]() |
void | PostUpdate - Sync if updated after Leader. | |
![]() |
void | PreUpdate - Sync if updated before Leader. | |
![]() |
void | Stop following our leader | |
![]() |
void | Stop leading, release all followers. | |
![]() |
void | Pause () |
|
![]() |
void | Play
(
float InPlayRate, |
Blend in with the supplied blend settings. |
![]() |
void | Play
(
float InPlayRate |
Blend in with the supplied play rate. Other blend settings will come from the Montage asset. |
![]() |
void | ||
![]() ![]() |
UAnimMontage * | PreviewSequencerMontagePosition
(
FName SlotName, |
|
![]() ![]() |
UAnimMontage * | PreviewSequencerMontagePosition
(
FName SlotName, |
|
![]() |
void | Disable RootMotion. | |
![]() |
void | SetDesiredWeight
(
float InValue |
Set the Desired Weight |
![]() |
void | SetNextPositionWithEvents
(
float InFromPosition, |
Set the evaluation range of this animation for the next animation update tick. |
![]() |
void | SetNextPositionWithEvents
(
float InPosition |
Set the next position of this animation for the next animation update tick. |
![]() |
bool | SetNextSectionID
(
int32 const& SectionID, |
|
![]() |
bool | SetNextSectionName
(
FName const& SectionName, |
|
![]() |
void | SetPlaying
(
bool bInPlaying |
|
![]() |
void | SetPlayRate
(
float const& InPlayRate |
|
![]() |
void | SetPosition
(
float const& InPosition |
Setters |
![]() ![]() |
UAnimMontage * | SetSequencerMontagePosition
(
FName SlotName, |
Static functions that are used by sequencer montage support |
![]() ![]() |
UAnimMontage * | SetSequencerMontagePosition
(
FName SlotName, |
|
![]() |
void | SetWeight
(
float InValue |
Set the weight |
![]() ![]() |
bool | SimulateAdvance
(
float DeltaTime, |
Simulate is same as Advance, but without calling any events or touching any of the instance data. |
![]() |
void | Stop
(
const FAlphaBlend& InBlendOut, |
Blend out with the supplied FAlphaBlend. Other blend settings will come from the Montage asset. |
![]() |
void | Stop
(
const FMontageBlendSettings& InBlendOutSettings, |
Blend out with the supplied blend settings. |
![]() |
void | Terminate () |
|
![]() |
void | UpdateWeight
(
float DeltaTime |
Montage Tick happens in 2 phases |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | Please use GetSyncGroupName |