Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/AnimMontage.h |
Include |
#include "Animation/AnimMontage.h" |
class UAnimMontage : public UAnimCompositeBase
Any property you're adding to AnimMontage and parent class has to be considered for Child Asset
Child Asset is considered to be only asset mapping feature using everything else in the class For example, you can just use all parent's setting for the montage, but only remap assets This isn't magic bullet unfortunately and it is consistent effort of keeping the data synced with parent If you add new property, please make sure those property has to be copied for children. If it does, please add the copy in the function RefreshParentAssetData
Name | Description | ||
---|---|---|---|
|
bEnableAutoBlendOut |
When it hits end, it automatically blends out. |
|
|
bEnableRootMotionRotation |
If this is on, it will allow extracting root motion rotation. |
|
|
bEnableRootMotionTranslation |
If this is on, it will allow extracting root motion translation. |
|
|
BlendIn |
Blend in option. |
|
|
BlendModeIn |
||
|
BlendModeOut |
||
|
BlendOut |
Blend out option. |
|
|
float |
BlendOutTriggerTime |
Time from Sequence End to trigger blend out. |
|
TObjectPtr< UBl... |
BlendProfileIn |
The blend profile to use. |
|
TObjectPtr< UBl... |
BlendProfileOut |
The blend profile to use. |
|
BranchingPointStateNotifyIndices |
Keep track of which AnimNotify_State are marked as BranchingPoints, so we can update their state when the Montage is ticked |
|
|
CompositeSections |
Composite section. |
|
|
MarkerData |
||
|
TObjectPtr< UAn... |
PreviewBasePose |
Preview Base pose for additive BlendSpace |
|
TEnumAsByte< ER... |
RootMotionRootLock |
Root Bone will be locked to that position when extracting root motion. |
|
TArray< struct ... |
SlotAnimTracks |
Slot data, each slot contains anim track |
|
SyncGroup |
If you're using marker based sync for this montage, make sure to add sync group name. |
|
|
SyncSlotIndex |
Wip: until we have UI working |
|
|
FTimeStretchCur... |
TimeStretchCurve |
Time stretch curve will only be used when the montage has a non-default play rate |
|
TimeStretchCurveName |
Name of optional TimeStretchCurveName to look for in Montage. |
Name | Description | |
---|---|---|
|
UAnimMontage ( |
Name | Description | ||
---|---|---|---|
|
AddAnimCompositeSection ( |
Add Composite section with InSectionName returns index of added item returns INDEX_NONE if failed. |
|
|
FSlotAnimati... |
AddSlot ( |
Add new slot track to this montage. |
|
float |
CalculatePos ( |
Utility function to calculate Animation Pos from Section, PosWithinCompositeSection |
|
float |
CalculateSequenceLength() |
Gets the sequence length of the montage by calculating it from the lengths of the segments in the montage. |
|
CanUseMarkerSync() |
||
|
CollectMarkers() |
Update markers |
|
|
UAnimMontage... |
CreateSlotAnimationAsDynamicMontage ( |
Utility function to create dynamic montage from AnimSequence |
|
UAnimMontage... |
CreateSlotAnimationAsDynamicMontage_WithBlendSettings ( |
Utility function to create dynamic montage from AnimSequence with blend in settings |
|
DeleteAnimCompositeSection ( |
Delete Composite section with InSectionName return true if success, false otherwise |
|
|
ExtractRootMotionFromTrackRange ( |
Extract RootMotion Transform from a contiguous Track position range. |
|
|
FilterOutNotifyBranchingPoints ( |
Filter out notifies from array that are marked as 'BranchingPoints' |
|
|
const FBranc... |
FindFirstBranchingPointMarker ( |
Find first branching point marker between track positions |
|
const FAnimT... |
GetAnimationData ( |
Prototype function to get animation data - this will need rework |
|
const FCompo... |
GetAnimCompositeSection ( |
Get FCompositeSection with InSectionName |
|
FCompositeSe... |
GetAnimCompositeSection ( |
Get FCompositeSection with InSectionName |
|
GetAnimCompositeSectionIndexFromPos ( |
Get Section Index from CurrentTime with PosWithinCompositeSection |
|
|
FAlphaBlendA... |
GetBlendInArgs() |
|
|
FAlphaBlendA... |
GetBlendOutArgs() |
|
|
float |
GetDefaultBlendInTime() |
|
|
float |
GetDefaultBlendOutTime() |
|
|
GetGroupName() |
Get the Montage's Group Name. This is the group from the first slot. Get Montage's Group Name |
|
|
GetSectionIndex ( |
Get SectionIndex from SectionName |
|
|
GetSectionIndexFromPosition ( |
Return Section Index from Position |
|
|
float |
GetSectionLength ( |
|
|
const TArray... |
GetSectionMetaData |
Get Section Metadata for the montage including metadata belong to the anim reference This will remove redundant entry if found - i.e. multiple same anim reference is used |
|
GetSectionName ( |
Get SectionName from SectionIndex in TArray |
|
|
GetSectionStartAndEndTime ( |
||
|
float |
GetSectionTimeLeftFromPos ( |
Return time left to end of section from given position. -1.f if not a valid position |
|
HasValidSlotSetup() |
True if valid, false otherwise. Will log warning if not valid. |
|
|
IsValidAdditiveSlot ( |
Check if this slot has valid animation data |
|
|
IsValidSectionIndex ( |
||
|
IsValidSectionName ( |
||
|
IsValidSlot ( |
Return true if valid slot |
|
|
RegisterOnMontageChanged ( |
Registers a delegate to be called after notification has changed |
|
|
UnregisterOnMontageChanged ( |
||
|
UpdateLinkableElements() |
Update all linkable elements contained in the montage |
|
|
UpdateLinkableElements |
Update linkable elements that rely on a specific segment. |
Name | Description | ||
---|---|---|---|
|
ContainRecursive ( |
This is recursive function that look thorough internal assets and clear the reference if recursive is found. |
|
|
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 |
|
|
SetCompositeLength ( |
Name | Description | ||
---|---|---|---|
|
EAnimEventTr... |
CalculateOffsetForNotify ( |
Calculates what (if any) offset should be applied to the trigger time of a notify given its display time |
|
CanBeUsedInComposition() |
||
|
GetAnimationPose ( |
||
|
GetMarkerIndicesForTime ( |
||
|
FMarkerSyncA... |
GetMarkerSyncPositionFromMarkerIndicies ( |
|
|
HasRootMotion() |
Returns whether the anim sequences this montage have root motion enabled |
|
|
RefreshCacheData() |
Update cache data (notify tracks, sync markers) |
Name | Description | ||
---|---|---|---|
|
GetAllAnimationSequencesReferred ( |
Retrieve all animations that are used by this asset |
|
|
GetUniqueMarkerNames() |
Return a list of unique marker names for blending compatibility |
|
|
IsValidAdditive() |
Return true if this is valid additive animation false otherwise |
|
|
ReplaceReferredAnimations ( |
Replace this assets references to other animations based on ReplacementMap |
|
|
TickAssetPlayer ( |
Advances the asset player instance |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreSave ( |
Presave function. |
Name |
Description |
---|---|
FOnMontageChanged |
|
FOnMontageChangedMulticaster |
Name | Description | ||
---|---|---|---|
|
float |
BlendInTime_DEPRECATED |
|
|
float |
BlendOutTime_DEPRECATED |
|
|
TArray< struct ... |
BranchingPoints_DEPRECATED |
Remove this when VER_UE4_MONTAGE_BRANCHING_POINT_REMOVAL is removed. |
Name | Description | ||
---|---|---|---|
|
FilterOutNotifyBranchingPoints ( |
Use the GetAnimNotifiesFromTrackPositions that takes FAnimNotifyEventReferences instead |
|
|
FMarkerSyncA... |
GetMarkerSyncPositionfromMarkerIndicies |
Use other GetMarkerSyncPositionfromMarkerIndicies signature |
|
PreSave ( |
Use version that takes FObjectPreSaveContext instead. |