1 #ifndef __FBPLAYERCONTROL_H__
2 #define __FBPLAYERCONTROL_H__
48 #define FBSDK_DLL K_DLLIMPORT
55 #ifdef FBSDKUseNamespace
182 bool Play(
bool pUseMarkers =
false);
188 bool PlayReverse(
bool pUseMarkers =
false);
198 void SetPlaySpeed(
double pSpeed);
208 double GetPlaySpeed();
234 bool Goto(
FBTime pTime );
251 bool Record(
bool pOverrideTake=
false,
bool pCopyData=
true );
257 void LockTransport(
bool pLock );
273 void SetTransportFps (
FBTimeMode pTimeMode,
double pCustom=0.0);
297 void GotoPreviousKey();
301 void EvaluationPause();
305 void EvaluationResume();
380 FBTime GetEditCurrentTime();
390 void SetEditStart(
FBTime pTime);
400 void SetEditStop(
FBTime pTime);
405 FBTime GetEditZoomStart();
410 void SetEditZoomStart(
FBTime pTime);
420 void SetEditZoomStop(
FBTime pTime);
428 int AddGlobalTimeMark(
FBTime pTime,
const char* pName =
NULL );
435 bool DeleteGlobalTimeMark(
int pIndex );
439 void DeleteAllGlobalTimeMarks();
444 int GetGlobalTimeMarkCount();
450 FBTime GetGlobalTimeMarkTime(
int pIndex );
458 int SetGlobalTimeMarkTime(
int pIndex,
FBTime pTime );
464 const char* GetGlobalTimeMarkName(
int pIndex );
471 bool SetGlobalTimeMarkName(
int pIndex,
const char* pName );
490 FBColor GetGlobalTimeMarkColor(
int pIndex );
497 bool SetGlobalTimeMarkColor(
int pIndex,
FBColor pColor );
502 int GetNextGlobalTimeMarkIndex();
507 int GetPreviousGlobalTimeMarkIndex();
533 int Add(
const char *pName );
538 void Remove(
int pID );
545 void SetTime(
int pID,
FBTime pReferenceTime,
FBTime pSystem );
557 const char *operator[](
int pID);
568 const char * GetReferenceTimeName(
int pID );
576 #ifdef FBSDKUseNamespace
PropertyEvent: Base event class.
FBPropertyBool IsPlotting
Read Only Property: Is there a plotting in progress?
FBPropertyInt CurrentTimeReferenceID
Read Write Property: Current reference time ID
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyTime PreviousMarker
Read Only Property: Previous marked time.
FBPropertyTime RecordingSamplingPeriod
Read Write Property: Sampling period for the model recording.
Declaration for the FBCommand class.
FBPlayerControlChangeType
Types of player control change events.
FBPropertyInt Count
Read Only Property: Number of reference times.
Template class to contain an array of items.
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Combines both Snap and Play on frames modes.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
class FBPropertyBaseEnum< enum FBTransportSnapMode > FBPropertyTransportSnapMode
FBTimeReferential
FBCommandState.
FBPropertyBool LoopActive
Read Write Property: Is looping active? Deprecated, use the LoopMode property instead.
FBPropertyTime LoopStop
Read Write Property: Loop end time.
FBTimeMode
Different time modes available.
Timecode time display mode.
FBPropertyTime ZoomWindowStop
Read Write Property: Stopping time of the transport control zoom window.
FBPropertyTime LoopStart
Read Write Property: Loop begin time.
#define K_DEPRECATED_2016
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyTime NextMarker
Read Only Property: Next marked time.
FBPropertyTime PlotSamplingPeriod
Read Write Property: Sampling period for the model plotting.
FBPropertyTransportSnapMode SnapMode
Read Write Property: Set the transport control snap mode.
FBTransportSnapMode
Available snap methods for the transport control.
#define FBSDKNamespace
FBSDKNamespace define.
Playback looping the current take.
FBTransportTimeFormat
Available transport control time display.
FBPropertyInt ItemIndex
Read Write Property: Current reference time index.
class FBPropertyBaseEnum< enum FBTransportTimeFormat > FBPropertyTransportTimeFormat
MotionBuilder SDK base class.
Snaps to an exact frame when modifying the current time.
Playback from the current take through all takes in order then stops.
FBPropertyBool IsPlaying
Read Only Property: Is the transport control playing?
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
When playing, plays to exact frames.
FBPropertyPlayerControlChangeType Type
Read Only Property: Type of event.
FBTransportPlaySpeed
Available transport control play speed.
class FBPropertyBaseEnum< enum FBTransportLoopMode > FBPropertyTransportLoopMode
FBTransportLoopMode
Available loop modes for the transport control.
FBTimeMarkAction
Time (Global & Take) Mark assigned action.
FBPropertyEvent OnChange
Event Property: Fired when something in the player control has changed.
FBTransportMode
Transport modes.
FBPropertyBool IsRecording
Read Only Property: Is there a recording in progress?
FBPropertyTransportLoopMode LoopMode
Read Write Property: Loop mode.
class FBPropertyBaseEnum< enum FBPlayerControlChangeType > FBPropertyPlayerControlChangeType
FBPropertyTransportTimeFormat TransportTimeFormat
Read Write Property: Current Time Mode of the transport controls.
FBPropertyTime ZoomWindowStart
Read Write Property: Starting time of the transport control zoom window.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool