unreal.AnimNode_RandomPlayer

class unreal.AnimNode_RandomPlayer(entries: Array[RandomPlayerSequenceEntry] = [], blend_weight: float = 0.0, shuffle_mode: bool = False)

Bases: AnimNode_AssetPlayerRelevancyBase

Anim Node Random Player

C++ Source:

  • Module: AnimGraphRuntime

  • File: AnimNode_RandomPlayer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blend_weight (float): [Read-Write] Blend Weight: Last encountered blend weight for this node

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

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

  • 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 blend_weight: float

[Read-Write] Blend Weight: Last encountered blend weight for this node

Type:

(float)

property entries: Array[RandomPlayerSequenceEntry]

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

Type:

(Array[RandomPlayerSequenceEntry])

property 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

Type:

(bool)