unreal.RandomPlayerSequenceEntry
¶
- class unreal.RandomPlayerSequenceEntry(sequence=None, chance_to_play=1.0, min_loop_count=0, max_loop_count=0, min_play_rate=1.0, max_play_rate=1.0)¶
Bases:
unreal.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
(AnimSequence): [Read-Write] Sequence to play when this entry is picked
- property chance_to_play¶
[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¶
[Read-Write] Maximum number of times this entry will loop before ending
- Type
(int32)
- property min_loop_count¶
[Read-Write] Minimum number of times this entry will loop before ending
- Type
(int32)
- property sequence¶
[Read-Write] Sequence to play when this entry is picked
- Type