unreal.RandomPlayerSequenceEntry

class unreal.RandomPlayerSequenceEntry(sequence: AnimSequenceBase = Ellipsis, chance_to_play: float = 0.0, min_loop_count: int = 0, max_loop_count: int = 0, min_play_rate: float = 0.0, max_play_rate: float = 0.0)

Bases: 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 (AnimSequenceBase): [Read-Write] Sequence to play when this entry is picked

property 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)

Type:

(float)

property max_loop_count: int

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

Type:

(int32)

property max_play_rate: float

[Read-Write] Maximum playrate for this entry

Type:

(float)

property min_loop_count: int

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

Type:

(int32)

property min_play_rate: float

[Read-Write] Minimum playrate for this entry

Type:

(float)

property sequence: AnimSequenceBase

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

Type:

(AnimSequenceBase)