1 #ifndef __FBPLAYERCONTROL_H__ 2 #define __FBPLAYERCONTROL_H__ 43 #include <kaydaradef.h> 48 #define FBSDK_DLL K_DLLIMPORT 55 #ifdef FBSDKUseNamespace 146 FBPropertyPlayerControlChangeType
Type;
182 bool Play(
bool pUseMarkers =
false);
188 bool PlayReverse(
bool pUseMarkers =
false);
198 void SetPlaySpeed(
double pSpeed);
208 double GetPlaySpeed();
235 bool Goto(
FBTime pTime );
252 bool Record(
bool pOverrideTake=
false,
bool pCopyData=
true );
258 void LockTransport(
bool pLock );
274 void SetTransportFps (
FBTimeMode pTimeMode,
double pCustom=0.0);
298 void GotoPreviousKey();
302 void EvaluationPause();
306 void EvaluationResume();
381 FBTime GetEditCurrentTime();
391 void SetEditStart(
FBTime pTime);
401 void SetEditStop(
FBTime pTime);
406 FBTime GetEditZoomStart();
411 void SetEditZoomStart(
FBTime pTime);
421 void SetEditZoomStop(
FBTime pTime);
429 int AddGlobalTimeMark(
FBTime pTime,
const char* pName = NULL );
436 bool DeleteGlobalTimeMark(
int pIndex );
440 void DeleteAllGlobalTimeMarks();
445 int GetGlobalTimeMarkCount();
451 FBTime GetGlobalTimeMarkTime(
int pIndex );
459 int SetGlobalTimeMarkTime(
int pIndex,
FBTime pTime );
465 const char* GetGlobalTimeMarkName(
int pIndex );
472 bool SetGlobalTimeMarkName(
int pIndex,
const char* pName );
491 FBColor GetGlobalTimeMarkColor(
int pIndex );
498 bool SetGlobalTimeMarkColor(
int pIndex,
FBColor pColor );
503 int GetNextGlobalTimeMarkIndex();
508 int GetPreviousGlobalTimeMarkIndex();
534 int Add(
const char *pName );
539 void Remove(
int pID );
546 void SetTime(
int pID,
FBTime pReferenceTime,
FBTime pSystem );
558 const char *operator[](
int pID);
569 const char * GetReferenceTimeName(
int pID );
577 #ifdef FBSDKUseNamespace
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBTransportMode
Transport modes.
Declaration for the FBCommand class.
Template class to contain an array of items.
FBPlayerControlChangeType
Types of player control change events.
FBTimeMarkAction
Time (Global & Take) Mark assigned action.
FBTransportTimeFormat
Available transport control time display.
FBPropertyBool LoopActive
Read Write Property: Is looping active?
FBPropertyBool IsPlotting
Read Only Property: Is there a plotting in progress?
FBTransportSnapMode
Available snap methods for the transport control.
When playing, plays to exact frames.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyInt Count
Read Only Property: Number of reference times.
FBTimeReferential
FBCommandState.
FBPropertyEvent OnChange
Event Property: Fired when something in the player control has changed. (see FBEventPlayerControlChan...
FBPropertyInt CurrentTimeReferenceID
Read Write Property: Current reference time ID
FBPropertyBool IsPlaying
Read Only Property: Is the transport control playing?
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBTransportLoopMode
Available loop modes for the transport control.
PropertyEvent: Base event class.
Playback from the current take through all takes in order then stops.
FBTransportPlaySpeed
Available transport control play speed.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyTransportTimeFormat TransportTimeFormat
Read Write Property: Current Time Mode of the transport controls.
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyTransportSnapMode SnapMode
Read Write Property: Set the transport control snap mode.
FBPropertyTime PreviousMarker
Read Only Property: Previous marked time.
FBPropertyTransportLoopMode LoopMode
Read Write Property: Loop mode.
FBPropertyTime PlotSamplingPeriod
Read Write Property: Sampling period for the model plotting.
FBPropertyTime RecordingSamplingPeriod
Read Write Property: Sampling period for the model recording.
FBPropertyTime LoopStart
Read Write Property: Loop begin time.
FBPropertyPlayerControlChangeType Type
Read Only Property: Type of event.
Playback looping the current take.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Combines both Snap and Play on frames modes.
FBTimeMode
Different time modes available.
FBPropertyInt ItemIndex
Read Write Property: Current reference time index.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyTime ZoomWindowStart
Read Write Property: Starting time of the transport control zoom window.
FBPropertyBool IsRecording
Read Only Property: Is there a recording in progress?
FBPropertyTime NextMarker
Read Only Property: Next marked time.
FBPropertyTime LoopStop
Read Write Property: Loop end time.
MotionBuilder SDK base class.
Timecode time display mode.
Snaps to an exact frame when modifying the current time.
FBPropertyTime ZoomWindowStop
Read Write Property: Stopping time of the transport control zoom window.