Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- FAnimLinkableElement
- FAnimNotifyEvent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimTypes.h |
| Include | #include "Animation/AnimTypes.h" |
Syntax
struct FAnimNotifyEvent : public FAnimLinkableElement
Remarks
Triggers an animation notify. Each AnimNotifyEvent contains an AnimNotify object which has its Notify method called and passed to the animation.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bConvertedFromBranchingPoint | If TRUE, this notify has been converted from an old BranchingPoint. | |
| bool | bTriggerOnDedicatedServer | If disabled this notify will be skipped on dedicated servers | |
| bool | bTriggerOnFollower | If enabled this notify will trigger when the animation is a follower in a sync group (by default only the sync group leaders notifies trigger | |
| float | Duration | ||
| FAnimLinkableElement | EndLink | Linkable element to use for the end handle representing a notify state duration | |
| float | EndTriggerTimeOffset | An offset similar to TriggerTimeOffset but used for the end scrub handle of a notify state's duration | |
| FGuid | Guid | Guid for tracking notifies in editor | |
| TEnumAsByte< EMontageNotifyTickType::Type > | MontageTickType | ||
| TObjectPtr< class UAnimNotify > | Notify | ||
| FColor | NotifyColor | Color of Notify in editor | |
| int32 | NotifyFilterLOD | LOD to start filtering this notify from. | |
| TEnumAsByte< ENotifyFilterType::Type > | NotifyFilterType | Defines a method for filtering notifies (stopping them triggering) e.g. by looking at the meshes current LOD | |
| FName | NotifyName | ||
| TObjectPtr< class UAnimNotifyState > | NotifyStateClass | ||
| float | NotifyTriggerChance | Defines the chance of of this notify triggering, 0 = No Chance, 1 = Always triggers | |
| int32 | TrackIndex | 'Track' that the notify exists on, used for visual placement in editor and sorting priority in runtime | |
| float | TriggerTimeOffset | An offset from the DisplayTime to the actual time we will trigger the notify, as we cannot always trigger it exactly at the time the user wants | |
| float | TriggerWeightThreshold |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetDuration () |
||
| float | Returns the actual end time for a state notify. | ||
| FName | Get the NotifyName pre-appended to "AnimNotify_", for calling the event | ||
| FName | GetNotifyEventName
(
const UMirrorDataTable* MirrorDataTable |
Get the mirrored NotifyName pre-appended to "AnimNotify_", for calling the event. | |
| float | Returns the actual trigger time for this notify. | ||
| bool | Returns true if this is blueprint or native class-based notify (i.e. not a named notify) | ||
| bool | Returns true is this AnimNotify is a BranchingPoint | ||
| void | PostSerialize
(
const FArchive& Ar |
||
| void | RefreshEndTriggerOffset
(
EAnimEventTriggerOffsets::Type PredictedOffsetType |
Updates end trigger offset based on a combination of predicted offset and current offset | |
| void | RefreshTriggerOffset
(
EAnimEventTriggerOffsets::Type PredictedOffsetType |
Updates trigger offset based on a combination of predicted offset and current offset | |
| bool | |||
| void | SetDuration
(
float NewDuration |
Overridden from FAnimLinkableElement
| Type | Name | Description | |
|---|---|---|---|
| void | SetTime
(
float NewTime, |
Sets the time of this element |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator<
(
const FAnimNotifyEvent& Other |
Used by UAnimSequenceBase::SortNotifies() to sort its Notifies array. | |
| bool | operator==
(
const FAnimNotifyEvent& Other |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| float | DisplayTime_DEPRECATED | The user requested time for this notify |