unreal.AnimNode_RandomPlayer

class unreal.AnimNode_RandomPlayer(entries=[], shuffle_mode=False)

Bases: unreal.AnimNode_Base

Anim Node Random Player

C++ Source:

  • Module: AnimGraphRuntime

  • File: AnimNode_RandomPlayer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • entries (Array(RandomPlayerSequenceEntry)): [Read-Write] Entries: List of sequences to randomly step through

  • shuffle_mode (bool): [Read-Write] Shuffle Mode: When shuffle mode is active we will never loop a sequence beyond MaxLoopCount without visiting each sequence in turn (no repeats). Enabling this will ignore ChanceToPlay for each entry

property entries

[Read-Write] Entries: List of sequences to randomly step through

Type

(Array(RandomPlayerSequenceEntry))

property shuffle_mode

[Read-Write] Shuffle Mode: When shuffle mode is active we will never loop a sequence beyond MaxLoopCount without visiting each sequence in turn (no repeats). Enabling this will ignore ChanceToPlay for each entry

Type

(bool)