unreal.RigUnit_TimeLoop
¶
- class unreal.RigUnit_TimeLoop(speed: float = 0.0, duration: float = 0.0, normalize: bool = False, absolute: float = 0.0, relative: float = 0.0, flip_flop: float = 0.0, even: bool = False)¶
Bases:
RigUnit_SimBase
Simulates a time value - and outputs loop information
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_Timeline.h
Editor Properties: (see get_editor_property/set_editor_property)
absolute
(float): [Read-Write] Absolute: the overall time in secondsduration
(float): [Read-Write] Duration: the duration of a single loop in secondseven
(bool): [Read-Write] Even: true if the iteration of the loop is evenflip_flop
(float): [Read-Write] Flip Flop: the relative time in seconds (within the loop), going from 0 to duration and then back from duration to 0, or 0 to 1 and 1 to 0 if Normalize is turned onnormalize
(bool): [Read-Write] Normalize: if set to true the output relative and flipflop will be normalized over the duration.relative
(float): [Read-Write] Relative: the relative time in seconds (within the loop)speed
(float): [Read-Write] Speed
- property duration: float¶
[Read-Write] Duration: the duration of a single loop in seconds
- Type:
(float)
- property flip_flop: float¶
[Read-Only] Flip Flop: the relative time in seconds (within the loop), going from 0 to duration and then back from duration to 0, or 0 to 1 and 1 to 0 if Normalize is turned on
- Type:
(float)
- property normalize: bool¶
[Read-Write] Normalize: if set to true the output relative and flipflop will be normalized over the duration.
- Type:
(bool)