#include<kfbxglobaltimesettings.h>
List of all members.
Detailed Description
This class contains functions for accessing global time settings.
Definition at line65of filekfbxglobaltimesettings.h.
Member Enumeration Documentation
Error identifiers.
Most of these are only used internally.
- eINDEX_OUT_OF_RANGE
- eERROR_COUNT
Definition at line202of filekfbxglobaltimesettings.h.
Member Function Documentation
void RestoreDefaultSettings | ( | | ) | |
Restore default settings.
Set time mode.
- Parameters:
| pTimeMode | One of the defined modes in classKTime. |
Get time mode.
- Returns:
- The currently set TimeMode.
Set time protocol.
- Parameters:
| pTimeProtocol | One of the defined protocols in classKTime. |
Get time protocol.
- Returns:
- The currently set TimeProtocol.
Set snap on frame mode.
- Parameters:
| pSnapOnFrameMode | One of the following values: eNO_SNAP, eSNAP_ON_FRAME, ePLAY_ON_FRAME, or eSNAP_PLAY_ON_FRAME. |
Get snap on frame mode.
- Returns:
- The currently set FrameMode.
void SetTimelineDefautTimeSpan | ( | constKTimeSpan& | pTimeSpan | ) | |
Set Timeline default time span.
- Parameters:
| pTimeSpan | The time span of the time line. |
void GetTimelineDefautTimeSpan | ( | KTimeSpan& | pTimeSpan | ) | const |
Get Timeline default time span.
- Parameters:
| pTimeSpan | return the default time span for the time line. |
int GetTimeMarkerCount | ( | | ) | |
Get number of time markers.
- Returns:
- The number of time markers.
bool SetCurrentTimeMarker | ( | int | pIndex | ) | |
Set current time marker index.
- Parameters:
| pIndex | Current time marker index. |
- Returns:
true
if successful, orfalse
if pIndex is invalid.
int GetCurrentTimeMarker | ( | | ) | |
Get current time marker index.
- Returns:
- Current time marker index, or -1 if the current time marker has not been set.
KFbxTimeMarker* GetTimeMarker | ( | int | pIndex | ) | |
Get time marker at given index.
- Parameters:
| pIndex | Time marker index. |
- Returns:
- Pointer to the time marker at pIndex, or
NULL
if the index is out of range.
void AddTimeMarker | ( | KFbxTimeMarker | pTimeMarker | ) | |
Add a time marker.
- Parameters:
| pTimeMarker | New time marker. |
void RemoveAllTimeMarkers | ( | | ) | |
Remove all time markers and set current time marker to -1.
Retrieve error object.
- Returns:
- Reference to error object.
Get last error code.
- Returns:
- Last error code.
const char* GetLastErrorString | ( | | ) | const |
Get last error string.
- Returns:
- Textual description of the last error.
void SetSnapOnFrame | ( | bool | pSnapOnFrame | ) | |
Set snap on frame flag.
- Parameters:
| pSnapOnFrame | Iftrue , snap on frame mode is set to eSNAP_ON_FRAME. Iffalse , snap on frame mode is set toeNO_SNAP . |
Get snap on frame flag.
- Returns:
true
if snap on frame mode is set to either eSNAP_ON_FRAME or ePLAY_ON_FRAME.false
if snap on frame mode is set toeNO_SNAP
.