engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FAnimNotifyEvent结构体 参考

Triggers an animation notify. 更多...

#include <AnimTypes.h>

+ 类 FAnimNotifyEvent 继承关系图:

Public 成员函数

ENGINE_API float GetEndTriggerTime () const
 Returns the actual end time for a state notify. 更多...
 
ENGINE_API FName GetNotifyEventName () const
 Get the NotifyName pre-appended to "AnimNotify_", for calling the event
 
ENGINE_API float GetTriggerTime () const
 Returns the actual trigger time for this notify. 更多...
 
bool IsBlueprintNotify () const
 Returns true if this is blueprint derived notifies
 
ENGINE_API bool IsBranchingPoint () const
 Returns true is this AnimNotify is a BranchingPoint
 
ENGINE_API bool operator< (const FAnimNotifyEvent &Other) const
 This can be used with the Sort() function on a TArray of FAnimNotifyEvents to sort the notifies array by time, earliest first.
 
ENGINE_API void RefreshEndTriggerOffset (EAnimEventTriggerOffsets::Type PredictedOffsetType)
 Updates end trigger offset based on a combination of predicted offset and current offset
 
ENGINE_API void RefreshTriggerOffset (EAnimEventTriggerOffsets::Type PredictedOffsetType)
 Updates trigger offset based on a combination of predicted offset and current offset
 
virtual ENGINE_API void SetTime (float NewTime, EAnimLinkMethod::Type ReferenceFrame=EAnimLinkMethod::Absolute) override
 Sets the time of this element 更多...
 
- Public 成员函数 继承自 FAnimLinkableElement
ENGINE_API void ChangeLinkMethod (EAnimLinkMethod::Type NewLinkMethod)
 Changes the way this element is linked to its segment 更多...
 
ENGINE_API void ChangeSlotIndex (int32 NewSlotIndex)
 Change the montage slot that this element is linked to 更多...
 
ENGINE_API void Clear ()
 Clear the linking information from this element, leaves montage link intact
 
ENGINE_API bool ConditionalRelink ()
 Relinks this element if internal state requires relinking
 
ENGINE_API const UAnimMontage * GetLinkedMontage () const
 Gets the Montage this element is linked to, if any
 
ENGINE_API const UAnimSequenceBase * GetLinkedSequence ()
 Gets the sequence this element is linked to
 
ENGINE_API EAnimLinkMethod::Type GetLinkMethod () const
 Get the method used to link this element to its segment
 
ENGINE_API int32 GetSegmentIndex () const
 Get the index of the segment this element is currently linked to
 
ENGINE_API int32 GetSlotIndex () const
 Get the slot index this element is currently linked to
 
ENGINE_API float GetTime (EAnimLinkMethod::Type ReferenceFrame=EAnimLinkMethod::Absolute) const
 Gets the current time for this element 更多...
 
ENGINE_API void Link (UAnimSequenceBase *AnimObject, float AbsTime, int32 InSlotIndex=0)
 Link this element to an animation object (Sequence or Montage) 更多...
 
ENGINE_API void LinkMontage (UAnimMontage *Montage, float AbsMontageTime, int32 InSlotIndex=0)
 Link this element to a montage 更多...
 
ENGINE_API void LinkSequence (UAnimSequenceBase *Sequence, float AbsSequenceTime)
 Link this element to a Sequence, Just setting basic data as sequences don't need full linking 更多...
 
ENGINE_API void OnChanged (float NewMontageTime)
 Called when the properties of this element are changed
 
ENGINE_API void RefreshSegmentOnLoad ()
 Refreshes the current segment data (Begin time, length etc.) and validate the link time Intended to update the internal state when segment lengths/times could have changed
 
ENGINE_API void SetSegmentIndex (int32 NewSegmentIndex)
 Directly sets segment index 更多...
 
virtual ENGINE_API void SetTime (float NewTime, EAnimLinkMethod::Type ReferenceFrame=EAnimLinkMethod::Absolute)
 Sets the time of this element 更多...
 
ENGINE_API void Update ()
 Update the timing information for this element. 更多...
 

Public 属性

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 DisplayTime_DEPRECATED
 The user requested time for this notify
 
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
 
int32 NotifyFilterLOD
 LOD to start filtering this notify from.
 
TEnumAsByte< ENotifyFilterType::Type > NotifyFilterType
 Defines a method for filtering notifies (stopping them triggering) e.g. 更多...
 
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
 

额外继承的成员函数

- Protected 成员函数 继承自 FAnimLinkableElement
FAnimSegment * GetSegmentAtCurrentTime ()
 Gets the segment in the current montage in the current slot that is at the time of this element
 
- Protected 属性 继承自 FAnimLinkableElement
TEnumAsByte< EAnimLinkMethod::Type > CachedLinkMethod
 Cached link method used to transform the time when LinkMethod changes, always relates to the currently stored time
 
UAnimMontage * LinkedMontage
 The montage that this element is currently linked to
 
UAnimSequenceBase * LinkedSequence
 The Animation Sequence that this montage element will link to, when the sequence changes in either length or rate; the element will correctly place itself in relation to the sequence
 
TEnumAsByte< EAnimLinkMethod::Type > LinkMethod
 The method we are using to calculate our times
 
float LinkValue
 The time of this montage. 更多...
 
float SegmentBeginTime
 The absolute time in the montage that our currently linked segment begins
 
int32 SegmentIndex
 The index of the segment we are linked to within the slot we are using
 
float SegmentLength
 The absolute length of our currently linked segment
 
int32 SlotIndex
 The slot index we are currently using within LinkedMontage
 

详细描述

Triggers an animation notify.

Each AnimNotifyEvent contains an AnimNotify object which has its Notify method called and passed to the animation.

成员函数说明

◆ GetEndTriggerTime()

ENGINE_API float FAnimNotifyEvent::GetEndTriggerTime ( ) const

Returns the actual end time for a state notify.

In some cases this may be different from DisplayTime + Duration

◆ GetTriggerTime()

ENGINE_API float FAnimNotifyEvent::GetTriggerTime ( ) const

Returns the actual trigger time for this notify.

In some cases this may be different to the DisplayTime that has been set

◆ SetTime()

virtual ENGINE_API void FAnimNotifyEvent::SetTime ( float  NewTime,
EAnimLinkMethod::Type  ReferenceFrame = EAnimLinkMethod::Absolute 
)
overridevirtual

Sets the time of this element

参数
NewTimeThe time to set this element to
ReferenceFrameThe kind of time being passed to this method

重载 FAnimLinkableElement .

类成员变量说明

◆ NotifyFilterType

TEnumAsByte<ENotifyFilterType::Type> FAnimNotifyEvent::NotifyFilterType

Defines a method for filtering notifies (stopping them triggering) e.g.

by looking at the meshes current LOD


该结构体的文档由以下文件生成: