unreal.RandomPlayerSequenceEntry

class unreal.RandomPlayerSequenceEntry(sequence: AnimSequence = 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] Blend In: Blending properties used when this entry is blending in ontop of another entry

  • chance_to_play (float): [Read-Write] Chance to Play: 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] Max Loop Count: Maximum number of times this entry will loop before ending

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

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

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

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

property chance_to_play: float

[Read-Write] Chance to Play: 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] Max Loop Count: Maximum number of times this entry will loop before ending

Type:

(int32)

property max_play_rate: float

[Read-Write] Max Play Rate: Maximum playrate for this entry

Type:

(float)

property min_loop_count: int

[Read-Write] Min Loop Count: Minimum number of times this entry will loop before ending

Type:

(int32)

property min_play_rate: float

[Read-Write] Min Play Rate: Minimum playrate for this entry

Type:

(float)

property sequence: AnimSequence

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

Type:

(AnimSequence)