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 seconds

  • duration (float): [Read-Write] the duration of a single loop in seconds

  • even (bool): [Read-Write] true if the iteration of the loop is even

  • flip_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 on

  • normalize (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 absolute: float

[Read-Only] the overall time in seconds

Type:

(float)

property duration: float

[Read-Write] the duration of a single loop in seconds

Type:

(float)

property even: bool

[Read-Only] true if the iteration of the loop is even

Type:

(bool)

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)

property normalize: bool

[Read-Write] if set to true the output relative and flipflop will be normalized over the duration.

Type:

(bool)

property relative: float

[Read-Only] the relative time in seconds (within the loop)

Type:

(float)

property speed: float

[Read-Write]

Type:

(float)