FBTimeCode Class Reference


Detailed Description

TimeCode data structure.

Examples
UI/Edit.py

List of all members.

Public Member Functions

  __init__ ()
  __init__ (int pHour, int pMinute=0, int pSecond=0, float pFrame=0, float pRate=0)
  Constructor.
str  GetTimeCodeString ()
  Get time as a string.
  SetTimeCodeString (str pTime)
  Set time from string.
FBTime  GetTime ()
  Return a Time corresponding to the timecode.
  SetTime (FBTime pTime, float pFrameRate=0)
  Set TimeCode according to the given time.

Public Attributes

float  NTSC_DROP
  Rates.
float  NTSC_FULL
float  PAL25
float  MPAL_30
float  FILM_24
float  FILM_23976

Member Function Documentation

__init__ ( )
__init__ ( int  pHour,
int  pMinute = 0,
int  pSecond = 0,
float  pFrame = 0,
float  pRate = 0 
)

Constructor.

Parameters:
pHour Hour value.
pMinute Minute value.
pSecond Second value.
pFrame Frame value.
pRate Framerate value.
Examples
UI/Edit.py
str GetTimeCodeString ( )

Get time as a string.

Returns:
String value of time.
SetTimeCodeString ( str  pTime )

Set time from string.

Parameters:
pTime String to set time from.
FBTime GetTime ( )

Return a Time corresponding to the timecode.

SetTime ( FBTime  pTime,
float  pFrameRate = 0 
)

Set TimeCode according to the given time.

Parameters:
pTime Time value to set.
pFrameRate Rate use in the pTime see Rates.

Member Data Documentation


FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode
FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode