unreal.Timecode

class unreal.Timecode(hours=0, minutes=0, seconds=0, frames=0, drop_frame_format=False)

Bases: unreal.StructBase

A timecode that stores time in HH:MM:SS format with the remainder of time represented by an integer frame count. The full C++ class is located here: EngineSourceRuntimeCorePublicMiscTimeCode.h:

C++ Source:

  • Module: CoreUObject
  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • drop_frame_format (bool): [Read-Write] If true, this Timecode represents a Drop Frame timecode used to account for fractional frame rates in NTSC play rates.
  • frames (int32): [Read-Write] Frames
  • hours (int32): [Read-Write] Hours
  • minutes (int32): [Read-Write] Minutes
  • seconds (int32): [Read-Write] Seconds
drop_frame_format

(bool) – [Read-Write] If true, this Timecode represents a Drop Frame timecode used to account for fractional frame rates in NTSC play rates.

frames

(int32) – [Read-Write] Frames

hours

(int32) – [Read-Write] Hours

minutes

(int32) – [Read-Write] Minutes

seconds

(int32) – [Read-Write] Seconds