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. note: 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

property drop_frame_format

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

Type

(bool)

property frames

[Read-Write] Frames

Type

(int32)

property hours

[Read-Write] Hours

Type

(int32)

property minutes

[Read-Write] Minutes

Type

(int32)

property seconds

[Read-Write] Seconds

Type

(int32)