KFbxGlobalTimeSettings Class Reference
#include
<kfbxglobaltimesettings.h>
List of all members.
Detailed Description
This class contains functions for accessing global time settings.
Definition at line 57 of file kfbxglobaltimesettings.h.
Member Enumeration Documentation
Snap on frame mode
- eNO_SNAP
- eSNAP_ON_FRAME
- ePLAY_ON_FRAME
- eSNAP_PLAY_ON_FRAME.
Definition at line 91 of file kfbxglobaltimesettings.h.
Error identifiers.
Most of these are only used internally.
- eINDEX_OUT_OF_RANGE
- eERROR_COUNT
Definition at line 196 of file kfbxglobaltimesettings.h.
Member Function Documentation
void RestoreDefaultSettings |
( |
|
) |
|
Restore default settings.
Set time mode.
- Parameters:
-
|
pTimeMode |
One of the defined modes in class KTime. |
Get time mode.
- Returns:
- The currently set TimeMode.
Set time protocol.
- Parameters:
-
|
pTimeProtocol |
One of the defined protocols in class KTime. |
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 |
( |
const KTimeSpan & |
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, or false
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.
Assignment operator.
- Parameters:
-
Retrieve error object.
- Returns:
- Reference to error object.
EError
GetLastErrorID |
( |
|
) |
const |
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 |
If true , snap on frame mode is set to
eSNAP_ON_FRAME. If false , snap on frame mode is set to
eNO_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 to eNO_SNAP
.
KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings
KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings KFbxGlobalTimeSettings
KFbxGlobalTimeSettings