unreal.RandomPlayerSequenceEntry

class unreal.RandomPlayerSequenceEntry(sequence=None, chance_to_play=1.0, min_loop_count=0, max_loop_count=0, min_play_rate=1.0, max_play_rate=1.0)

Bases: unreal.StructBase

The random player node holds a list of sequences and parameter ranges which will be played continuously In a random order. If shuffle mode is enabled then each entry will be played once before repeating any

C++ Source:

  • Module: AnimGraphRuntime

  • File: AnimNode_RandomPlayer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blend_in (AlphaBlend): [Read-Write] Blending properties used when this entry is blending in ontop of another entry

  • chance_to_play (float): [Read-Write] When not in shuffle mode, this is the chance this entry will play (normalized against all other sample chances)

  • max_loop_count (int32): [Read-Write] Maximum number of times this entry will loop before ending

  • max_play_rate (float): [Read-Write] Maximum playrate for this entry

  • min_loop_count (int32): [Read-Write] Minimum number of times this entry will loop before ending

  • min_play_rate (float): [Read-Write] Minimum playrate for this entry

  • sequence (AnimSequence): [Read-Write] Sequence to play when this entry is picked

property chance_to_play

[Read-Write] When not in shuffle mode, this is the chance this entry will play (normalized against all other sample chances)

Type

(float)

property max_loop_count

[Read-Write] Maximum number of times this entry will loop before ending

Type

(int32)

property max_play_rate

[Read-Write] Maximum playrate for this entry

Type

(float)

property min_loop_count

[Read-Write] Minimum number of times this entry will loop before ending

Type

(int32)

property min_play_rate

[Read-Write] Minimum playrate for this entry

Type

(float)

property sequence

[Read-Write] Sequence to play when this entry is picked

Type

(AnimSequence)