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 entrychance_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 endingmax_play_rate
(float): [Read-Write] Maximum playrate for this entrymin_loop_count
(int32): [Read-Write] Minimum number of times this entry will loop before endingmin_play_rate
(float): [Read-Write] Minimum playrate for this entrysequence
(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 min_loop_count: int¶
[Read-Write] Minimum number of times this entry will loop before ending
- Type:
(int32)
- property sequence: AnimSequenceBase¶
[Read-Write] Sequence to play when this entry is picked
- Type: