unreal.RigVMFunction_ForLoopCount

class unreal.RigVMFunction_ForLoopCount(execute_pin: RigVMExecutePin = [], count: int = 0, index: int = 0, ratio: float = 0.0, completed: RigVMExecuteContext = [])

Bases: RigVMStructMutable

Given a count, execute iteratively until the count is up

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_ForLoop.h

Editor Properties: (see get_editor_property/set_editor_property)

  • completed (RigVMExecuteContext): [Read-Write] The completed branch to run once the loop has finished all iterations

  • count (int32): [Read-Write] The number of iterations for this loop

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable nodes together

  • index (int32): [Read-Write] The index of the current iteration

  • ratio (float): [Read-Write] The ratio of the current iteration (from 0.0 for the first to 1.0 for the last)

property completed: RigVMExecuteContext

[Read-Only] The completed branch to run once the loop has finished all iterations

Type:

(RigVMExecuteContext)

property count: int

[Read-Write] The number of iterations for this loop

Type:

(int32)

property index: int

[Read-Only] The index of the current iteration

Type:

(int32)

property ratio: float

[Read-Only] The ratio of the current iteration (from 0.0 for the first to 1.0 for the last)

Type:

(float)