unreal.RigVMFunction_SecondsToFrames

class unreal.RigVMFunction_SecondsToFrames(seconds: float = 0.0, frames: float = 0.0)

Bases: RigVMFunction_AnimBase

Converts seconds to frames based on the current frame rate

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_TimeConversion.h

Editor Properties: (see get_editor_property/set_editor_property)

  • frames (float): [Read-Write]

  • seconds (float): [Read-Write]

property frames: float

[Read-Only]

Type:

(float)

property seconds: float

[Read-Write]

Type:

(float)