unreal.RigVMFunction_TimeLoop
¶
- class unreal.RigVMFunction_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:
RigVMFunction_SimBase
Simulates a time value - and outputs loop information
C++ Source:
Plugin: RigVM
Module: RigVM
File: RigVMFunction_Timeline.h
Editor Properties: (see get_editor_property/set_editor_property)
absolute
(float): [Read-Write] the overall time in secondsduration
(float): [Read-Write] the duration of a single loop in secondseven
(bool): [Read-Write] true if the iteration of the loop is evenflip_flop
(float): [Read-Write] 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] if set to true the output relative and flipflop will be normalized over the duration.relative
(float): [Read-Write] the relative time in seconds (within the loop)speed
(float): [Read-Write]
- property flip_flop: float¶
[Read-Only] 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)