unreal.Timecode

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

Bases: 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]

  • hours (int32): [Read-Write]

  • minutes (int32): [Read-Write]

  • seconds (int32): [Read-Write]

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.

Type:

(bool)

property frames: int

[Read-Write]

Type:

(int32)

property hours: int

[Read-Write]

Type:

(int32)

property minutes: int

[Read-Write]

Type:

(int32)

property seconds: int

[Read-Write]

Type:

(int32)