unreal.AnimNode_SequenceEvaluator

class unreal.AnimNode_SequenceEvaluator(ignore_for_relevancy_test=False, blend_weight=0.0, internal_time_accumulator=0.0, sequence=None, explicit_time=0.0, should_loop=False, teleport_to_explicit_time=True, reinitialization_behavior=SequenceEvalReinit.EXPLICIT_TIME, start_position=0.0)

Bases: unreal.AnimNode_AssetPlayerBase

Evaluates a point in an anim sequence, using a specific time input rather than advancing time internally. Typically the playback position of the animation for this node will represent something other than time, like jump height. This node will not trigger any notifies present in the associated sequence.

C++ Source:

  • Module: AnimGraphRuntime

  • File: AnimNode_SequenceEvaluator.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blend_weight (float): [Read-Write] Last encountered blendweight for this node

  • explicit_time (float): [Read-Write] The time at which to evaluate the associated sequence

  • ignore_for_relevancy_test (bool): [Read-Write] If true, “Relevant anim” nodes that look for the highest weighted animation in a state will ignore this node

  • internal_time_accumulator (float): [Read-Write] Accumulated time used to reference the asset in this node

  • reinitialization_behavior (SequenceEvalReinit): [Read-Write] What to do when SequenceEvaluator is reinitialized

  • sequence (AnimSequenceBase): [Read-Write] The animation sequence asset to evaluate

  • should_loop (bool): [Read-Write] This only works if bTeleportToExplicitTime is false OR this node is set to use SyncGroup

  • start_position (float): [Read-Write] The start up position, it only applies when ReinitializationBehavior == StartPosition. Only used when bTeleportToExplicitTime is false.

  • teleport_to_explicit_time (bool): [Read-Write] If true, teleport to explicit time, does NOT advance time (does not trigger notifies, does not extract Root Motion, etc.)

    If false, will advance time (will trigger notifies, extract root motion if applicable, etc.) Note: using a sync group forces advancing time regardless of what this option is set to.

property b_should_loop_when_in_sync_group

‘b_should_loop_when_in_sync_group’ was renamed to ‘should_loop’.

Type

deprecated

property explicit_time

[Read-Write] The time at which to evaluate the associated sequence

Type

(float)

property reinitialization_behavior

[Read-Write] What to do when SequenceEvaluator is reinitialized

Type

(SequenceEvalReinit)

property sequence

[Read-Write] The animation sequence asset to evaluate

Type

(AnimSequenceBase)

property should_loop

[Read-Write] This only works if bTeleportToExplicitTime is false OR this node is set to use SyncGroup

Type

(bool)

property start_position

[Read-Write] The start up position, it only applies when ReinitializationBehavior == StartPosition. Only used when bTeleportToExplicitTime is false.

Type

(float)

property teleport_to_explicit_time

[Read-Write] If true, teleport to explicit time, does NOT advance time (does not trigger notifies, does not extract Root Motion, etc.) If false, will advance time (will trigger notifies, extract root motion if applicable, etc.) Note: using a sync group forces advancing time regardless of what this option is set to.

Type

(bool)