unreal.AnimNotifyEvent

class unreal.AnimNotifyEvent(trigger_weight_threshold=1e-05, notify_name='None', notify=None, notify_state_class=None, montage_tick_type=MontageNotifyTickType.QUEUED, notify_trigger_chance=1.0, notify_filter_type=NotifyFilterType.NO_FILTERING, notify_filter_lod=0, trigger_on_dedicated_server=True, trigger_on_follower=False)

Bases: unreal.AnimLinkableElement

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

C++ Source:

  • Module: Engine

  • File: AnimTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • link_method (AnimLinkMethod): [Read-Write] Link Method: The method we are using to calculate our times

  • linked_sequence (AnimSequenceBase): [Read-Only] Linked Sequence: 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

  • montage_tick_type (MontageNotifyTickType): [Read-Write] Montage Tick Type

  • notify (AnimNotify): [Read-Write] Notify

  • notify_filter_lod (int32): [Read-Write] Notify Filter LOD: LOD to start filtering this notify from.

  • notify_filter_type (NotifyFilterType): [Read-Write] Notify Filter Type: Defines a method for filtering notifies (stopping them triggering) e.g. by looking at the meshes current LOD

  • notify_name (Name): [Read-Write] Notify Name

  • notify_state_class (AnimNotifyState): [Read-Write] Notify State Class

  • notify_trigger_chance (float): [Read-Write] Notify Trigger Chance: Defines the chance of of this notify triggering, 0 = No Chance, 1 = Always triggers

  • slot_index (int32): [Read-Write] Slot Index: The slot index we are currently using within LinkedMontage

  • trigger_on_dedicated_server (bool): [Read-Write] Trigger on Dedicated Server: If disabled this notify will be skipped on dedicated servers

  • trigger_on_follower (bool): [Read-Write] Trigger on Follower: 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

  • trigger_weight_threshold (float): [Read-Write] Trigger Weight Threshold

property montage_tick_type

[Read-Write] Montage Tick Type

Type

(MontageNotifyTickType)

property notify

[Read-Write] Notify

Type

(AnimNotify)

property notify_filter_lod

[Read-Write] Notify Filter LOD: LOD to start filtering this notify from.

Type

(int32)

property notify_filter_type

[Read-Write] Notify Filter Type: Defines a method for filtering notifies (stopping them triggering) e.g. by looking at the meshes current LOD

Type

(NotifyFilterType)

property notify_name

[Read-Only] Notify Name

Type

(Name)

property notify_state_class

[Read-Write] Notify State Class

Type

(AnimNotifyState)

property notify_trigger_chance

[Read-Write] Notify Trigger Chance: Defines the chance of of this notify triggering, 0 = No Chance, 1 = Always triggers

Type

(float)

property trigger_on_dedicated_server

[Read-Write] Trigger on Dedicated Server: If disabled this notify will be skipped on dedicated servers

Type

(bool)

property trigger_on_follower

[Read-Write] Trigger on Follower: 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

Type

(bool)

property trigger_weight_threshold

[Read-Write] Trigger Weight Threshold

Type

(float)