1 #ifndef __FBPLAYERCONTROL_H__
2 #define __FBPLAYERCONTROL_H__
48 #define FBSDK_DLL K_DLLIMPORT
55 #ifdef FBSDKUseNamespace
174 bool Play(
bool pUseMarkers =
false);
180 bool PlayReverse(
bool pUseMarkers =
false);
190 void SetPlaySpeed(
double pSpeed);
200 double GetPlaySpeed();
226 bool Goto(
FBTime pTime );
243 bool Record(
bool pOverrideTake=
false,
bool pCopyData=
true );
249 void LockTransport(
bool pLock );
265 void SetTransportFps (
FBTimeMode pTimeMode,
double pCustom=0.0);
289 void GotoPreviousKey();
293 void EvaluationPause();
297 void EvaluationResume();
371 FBTime GetEditCurrentTime();
381 void SetEditStart(
FBTime pTime);
391 void SetEditStop(
FBTime pTime);
396 FBTime GetEditZoomStart();
401 void SetEditZoomStart(
FBTime pTime);
411 void SetEditZoomStop(
FBTime pTime);
419 int AddGlobalTimeMark(
FBTime pTime,
const char* pName =
NULL );
426 bool DeleteGlobalTimeMark(
int pIndex );
430 void DeleteAllGlobalTimeMarks();
435 int GetGlobalTimeMarkCount();
441 FBTime GetGlobalTimeMarkTime(
int pIndex );
449 int SetGlobalTimeMarkTime(
int pIndex,
FBTime pTime );
455 const char* GetGlobalTimeMarkName(
int pIndex );
462 bool SetGlobalTimeMarkName(
int pIndex,
const char* pName );
481 FBColor GetGlobalTimeMarkColor(
int pIndex );
488 bool SetGlobalTimeMarkColor(
int pIndex,
FBColor pColor );
493 int GetNextGlobalTimeMarkIndex();
498 int GetPreviousGlobalTimeMarkIndex();
519 int Add(
const char *pName );
524 void Remove(
int pIndex );
531 void SetTime(
int pIndex,
FBTime pReferenceTime,
FBTime pSystem );
543 const char *operator[](
int pIndex);
549 #ifdef FBSDKUseNamespace
FBPropertyInt ItemIndex
Read Write Property: Current reference time index.
FBPropertyTime ZoomWindowStop
Read Write Property: Stopping time of the transport control zoom window.
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBTransportTimeFormat
Available transport control time display.
FBTimeMode
Different time modes available.
Declaration for the FBCommand class.
FBPropertyTime PreviousMarker
Read Only Property: Previous marked time.
FBTransportSnapMode
Available snap methods for the transport control.
Snaps to an exact frame when modifying the current time.
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyEvent OnChange
Event Property: Fired when something in the player control has changed.
FBPropertyTime LoopStart
Read Write Property: Loop begin time.
FBPropertyPlayerControlChangeType Type
Read Only Property: Type of event.
When playing, plays to exact frames.
FBPropertyTransportSnapMode SnapMode
Read Write Property: Set the transport control snap mode.
class FBPropertyBaseEnum< enum FBTransportTimeFormat > FBPropertyTransportTimeFormat
FBPropertyTime PlotSamplingPeriod
Read Write Property: Sampling period for the model plotting.
FBPropertyInt Count
Read Only Property: Number of reference times.
FBTransportMode
Transport modes.
FBPropertyTime ZoomWindowStart
Read Write Property: Starting time of the transport control zoom window.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
MotionBuilder SDK base class.
FBPropertyBool IsPlaying
Read Only Property: Is the transport control playing?
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
!< step="" backward.="" />
FBPropertyTransportTimeFormat TransportTimeFormat
Read Write Property: Current Time Mode of the transport controls.
!< play="" reverse.="" />
FBTransportPlaySpeed
Available transport control play speed.
FBTimeMarkAction
Time (Global & Take) Mark assigned action.
#define K_DEPRECATED_2016
class FBPropertyBaseEnum< enum FBPlayerControlChangeType > FBPropertyPlayerControlChangeType
FBPropertyTime RecordingSamplingPeriod
Read Write Property: Sampling period for the model recording.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDKNamespace
FBSDKNamespace define.
PropertyEvent: Base event class.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Combines both Snap and Play on frames modes.
FBPropertyBool IsRecording
Read Only Property: Is there a recording in progress?
FBPlayerControlChangeType
Types of player control change events.
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBPropertyTime NextMarker
Read Only Property: Next marked time.
FBPropertyBool LoopActive
Read Write Property: Is looping active?
Timecode time display mode.
FBPropertyTime LoopStop
Read Write Property: Loop end time.
FBPropertyBool IsPlotting
Read Only Property: Is there a plotting in progress?
class FBPropertyBaseEnum< enum FBTransportSnapMode > FBPropertyTransportSnapMode
FBTimeReferential
FBCommandState.