Open Reality Reference Guide
fbplayercontrol.h
Go to the documentation of this file.
1 #ifndef __FBPLAYERCONTROL_H__
2 #define __FBPLAYERCONTROL_H__
3 /**************************************************************************
4 Copyright (c) 1994 - 2013 Autodesk, Inc. and/or its licensors.
5 All Rights Reserved.
6 
7 The coded instructions, statements, computer programs, and/or related
8 material (collectively the "Data") in these files contain unpublished
9 information proprietary to Autodesk, Inc. and/or its licensors, which is
10 protected by Canada and United States of America federal copyright law
11 and by international treaties.
12 
13 The Data may not be disclosed or distributed to third parties, in whole
14 or in part, without the prior written consent of Autodesk, Inc.
15 ("Autodesk").
16 
17 THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18 ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19 WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20 ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21 OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22 PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23 WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24 FREE.
25 
26 IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27 OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28 EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29 DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30 OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31 DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32 LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33 LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34 DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35 BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36 
37 **************************************************************************/
38 
43 #include <kaydaradef.h>
44 #ifndef FBSDK_DLL
45 
48 #define FBSDK_DLL K_DLLIMPORT
49 #endif
50 
51 // Essential includes
52 #include <fbsdk/fbcomponent.h>
53 #include <fbsdk/fbcommand.h>
54 
55 #ifdef FBSDKUseNamespace
56 namespace FBSDKNamespace {;
57 #endif
58 
61  kFBTransportPlay, kFBTransportPlayPrepare, kFBTransportPlayReady,
62  kFBTransportStop, kFBTransportStopPost, kFBTransportStopReady,
63  kFBTransportShuttle, kFBTransportShuttlePrepare, kFBTransportShuttleReady,
64  kFBTransportPlayReverse, kFBTransportPlayReversePrepare, kFBTransportPlayReverseReady,
65  kFBTransportJog, kFBTransportJogPrepare, kFBTransportJogReady,
66  kFBTransportGoto, kFBTransportGotoPrepare, kFBTransportGotoReady,
67  kFBTransportStepForward, kFBTransportStepForwardPrepare, kFBTransportStepForwardReady,
68  kFBTransportStepBackward, kFBTransportStepBackwardPrepare,kFBTransportStepBackwardReady
69 };
70 FB_DEFINE_ENUM( FBSDK_DLL, TransportMode );
71 
74 {
77 };
78 
79 FB_DEFINE_ENUM(FBSDK_DLL, TransportTimeFormat);
80 
81 
84 {
98 };
99 FB_DEFINE_ENUM( FBSDK_DLL, TransportPlaySpeed);
100 
103 {
108 };
109 FB_DEFINE_ENUM( FBSDK_DLL, TransportSnapMode );
110 
116 };
117 FB_DEFINE_ENUM( FBSDK_DLL, TransportLoopMode );
118 
130 };
131 FB_DEFINE_ENUM( FBSDK_DLL, PlayerControlChangeType );
132 
134 // FBEventPlayerControlChange
137 
139 {
140  public:
144  FBEventPlayerControlChange( HKEventBase pEvent );
145 
146  FBPropertyPlayerControlChangeType Type;
147 };
148 
149 
151 // FBPlayerControl
154 
171 public:
172 
176  FBPlayerControl(HIObject pObject=NULL);
177 
182  bool Play(bool pUseMarkers = false);
183 
188  bool PlayReverse(bool pUseMarkers = false);
189 
193  void SetPlaySpeedMode (FBTransportPlaySpeed pPlaySpeedMode);
194 
198  void SetPlaySpeed(double pSpeed);
199 
204 
208  double GetPlaySpeed();
209 
213  bool Stop();
214 
218  bool GotoStart();
219 
223  bool GotoEnd();
224 
229  bool Goto( FBTime pTime );
230 
234  bool StepForward();
235 
239  bool StepBackward();
240 
246  bool Record( bool pOverrideTake=false,bool pCopyData=true );
247 
252  void LockTransport( bool pLock );
253 
257  bool IsLocked();
258 
263 
268  void SetTransportFps ( FBTimeMode pTimeMode, double pCustom=0.0);
269 
274 
280 
284  void Key();
285 
288  void GotoNextKey();
289 
293 
297 
301 
302  /* K_DEPRECATED_2019 */ FBPropertyBool LoopActive;
303  FBPropertyTransportLoopMode LoopMode;
306 
309 
312 
316 
317  FBPropertyTransportSnapMode SnapMode;
318 
319  FBPropertyTransportTimeFormat TransportTimeFormat;
320 
323 
325 
330 
337 
343 
349 
355 
361 
366 
370  void SetTimeReferential(FBTimeReferential pTimeReferential);
371 
376 
381 
385  void SetEditStart(FBTime pTime);
386 
391 
395  void SetEditStop(FBTime pTime);
396 
401 
406 
411 
415  void SetEditZoomStop(FBTime pTime);
416 
423  int AddGlobalTimeMark( FBTime pTime, const char* pName = NULL );
424 
430  bool DeleteGlobalTimeMark( int pIndex );
431 
435 
440 
446 
453  int SetGlobalTimeMarkTime( int pIndex, FBTime pTime );
454 
459  const char* GetGlobalTimeMarkName( int pIndex );
460 
466  bool SetGlobalTimeMarkName( int pIndex, const char* pName );
467 
473 
479  bool SetGlobalTimeMarkAction( int pIndex, FBTimeMarkAction pAction );
480 
486 
492  bool SetGlobalTimeMarkColor( int pIndex, FBColor pColor );
493 
498 
503 };
504 
506 // FBReferenceTime
509 
518 public:
522  FBReferenceTime(HIObject pObject=NULL);
523 
528  int Add( const char *pName );
529 
533  void Remove( int pID );
534 
540  void SetTime( int pID, FBTime pReferenceTime, FBTime pSystem );
546  FBTime GetTime( int pID, FBTime pSystem );
547 
552  const char *operator[](int pID);
553 
558 
563  const char * GetReferenceTimeName( int pID );
564 
565  /*K_DEPRECATED_2019*/ FBPropertyInt Count;
566  /*K_DEPRECATED_2019*/ FBPropertyInt ItemIndex;
567 
569 };
570 
571 #ifdef FBSDKUseNamespace
572 } // namespace FBSDKNamespace
573 #endif
574 
575 #endif
FBPlayerControl::LoopStart
FBPropertyTime LoopStart
Read Write Property: Loop begin time.
Definition: fbplayercontrol.h:304
kFBTransportLoopCurrentTake
@ kFBTransportLoopCurrentTake
Playback looping the current take.
Definition: fbplayercontrol.h:114
FBPlayerControl::IsLocked
bool IsLocked()
Return the current locking state of the transport.
FBPlayerControl::GotoStart
bool GotoStart(FBTimeReferential)
GotoStart button (Rewind).
FBReferenceTime::operator[]
const char * operator[](int pID)
Overloaded [] operator.
FBPlayerControl::GetGlobalTimeMarkTime
FBTime GetGlobalTimeMarkTime(int pIndex)
Returns the time associated with a global time mark.
FBPlayerControl::PreviousMarker
FBPropertyTime PreviousMarker
Read Only Property: Previous marked time.
Definition: fbplayercontrol.h:311
kFBSpeed_Custom
@ kFBSpeed_Custom
Custom speed.
Definition: fbplayercontrol.h:97
FBPlayerControl::Key
void Key()
Key default data.
kFBTimeFormatTimecode
@ kFBTimeFormatTimecode
Timecode time display mode.
Definition: fbplayercontrol.h:75
FBPlayerControl::Goto
bool Goto(FBTime pTime)
Goto a time specified by pTime.
kFBSpeed_4x
@ kFBSpeed_4x
4x
Definition: fbplayercontrol.h:94
FBPlayerControl::GotoPreviousKey
void GotoPreviousKey()
Go to the previous key.
FBPlayerControl::SetEditZoomStop
void SetEditZoomStop(FBTime pTime)
Set Edit Zoom Stop.
kFBTimeModeDefault
@ kFBTimeModeDefault
Default Time Mode.
Definition: fbtime.h:64
FBEventPlayerControlChange::FBEventPlayerControlChange
FBEventPlayerControlChange(HKEventBase pEvent)
Constructor.
FBPlayerControl::GetEditZoomStop
FBTime GetEditZoomStop()
Get Edit Zoom Stop.
FBPlayerControl
Player control.
Definition: fbplayercontrol.h:169
kFBTransportSnapModeSnapOnFrames
@ kFBTransportSnapModeSnapOnFrames
Snaps to an exact frame when modifying the current time.
Definition: fbplayercontrol.h:105
FBPlayerControl::GetEditStop
FBTime GetEditStop()
Get Edit Stop.
FB_DEFINE_ENUM
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:150
kFBTransportStepForwardPrepare
@ kFBTransportStepForwardPrepare
!< Step forward
Definition: fbplayercontrol.h:67
FBPlayerControl::SetEditZoomStart
void SetEditZoomStart(FBTime pTime)
Set Edit Zoom Start.
FBPlayerControl::GetTransportFpsValue
double GetTransportFpsValue(FBTimeMode pTimeMode=kFBTimeModeDefault)
Get the UI frame rate value.
FBReferenceTime::GetTime
FBTime GetTime(int pID, FBTime pSystem)
Get a reference time.
FBTransportLoopMode
FBTransportLoopMode
Available loop modes for the transport control.
Definition: fbplayercontrol.h:112
FBPlayerControl::GotoNextKey
void GotoNextKey()
Go to the next key.
kFBTransportGotoPrepare
@ kFBTransportGotoPrepare
!< Goto.
Definition: fbplayercontrol.h:66
FBPlayerControl::StepBackward
bool StepBackward()
Step one frame backward.
FBPlayerControl::DeleteGlobalTimeMark
bool DeleteGlobalTimeMark(int pIndex)
Delete a global time mark.
FBReferenceTime::GetUniqueIDList
void GetUniqueIDList(FBArrayTemplate< int > *pIDArray)
Get list of currently available IDs.
FBPropertyInt
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Definition: fbproperties.h:1331
FBPlayerControl::GetPreviousGlobalTimeMarkIndex
int GetPreviousGlobalTimeMarkIndex()
Returns the previous global time mark index, based on the current local time.
FBPlayerControl::EvaluationPause
void EvaluationPause()
Pause device evaluation thread.
FBPlayerControl::GetTransportFps
FBTimeMode GetTransportFps()
Get the UI frame rate use for display configure in the system.
FBTransportTimeFormat
FBTransportTimeFormat
Available transport control time display.
Definition: fbplayercontrol.h:74
FBPlayerControl::ZoomWindowStop
FBPropertyTime ZoomWindowStop
Read Write Property: Stopping time of the transport control zoom window.
Definition: fbplayercontrol.h:308
FBReferenceTime
Reference time class.
Definition: fbplayercontrol.h:516
FBPlayerControl::SetTransportFps
void SetTransportFps(FBTimeMode pTimeMode, double pCustom=0.0)
Set the system frame rate use for display.
kFBTransportStopPost
@ kFBTransportStopPost
!< Stop mode
Definition: fbplayercontrol.h:62
FBPlayerControl::SetPlaySpeedMode
void SetPlaySpeedMode(FBTransportPlaySpeed pPlaySpeedMode)
Set Play Speed Mode.
FBPlayerControl::SetGlobalTimeMarkName
bool SetGlobalTimeMarkName(int pIndex, const char *pName)
Sets a new name for an existing global time mark.
FBPlayerControl::AddGlobalTimeMark
int AddGlobalTimeMark(FBTime pTime, const char *pName=NULL)
Add a global time mark.
kFBSpeed_1_5x
@ kFBSpeed_1_5x
0.20x
Definition: fbplayercontrol.h:86
FBPlayerControl::GetPlaySpeed
double GetPlaySpeed()
Get Play Speed .
kFBSpeed_ALL_FR
@ kFBSpeed_ALL_FR
All frames.
Definition: fbplayercontrol.h:91
FBTime
Time data structure.
Definition: fbtime.h:88
kFBSpeed_10x
@ kFBSpeed_10x
10x
Definition: fbplayercontrol.h:96
FBPlayerControl::ZoomWindowStart
FBPropertyTime ZoomWindowStart
Read Write Property: Starting time of the transport control zoom window.
Definition: fbplayercontrol.h:307
FBReferenceTime::FBReferenceTime
FBReferenceTime(HIObject pObject=NULL)
Constructor.
FBTransportMode
FBTransportMode
Transport modes.
Definition: fbplayercontrol.h:60
FBPlayerControl::RecordingSamplingPeriod
FBPropertyTime RecordingSamplingPeriod
Read Write Property: Sampling period for the model recording.
Definition: fbplayercontrol.h:321
FBPlayerControl::GetNextGlobalTimeMarkIndex
int GetNextGlobalTimeMarkIndex()
Returns the next global time mark index, based on the current local time.
FBPlayerControl::IsPlaying
FBPropertyBool IsPlaying
Read Only Property: Is the transport control playing?
Definition: fbplayercontrol.h:314
FBPlayerControl::SetEditStop
void SetEditStop(FBTime pTime)
Set Edit Stop.
FBPlayerControl::StepBackward
bool StepBackward(FBTimeReferential)
Step one frame backward.
FBPlayerControl::SetGlobalTimeMarkTime
int SetGlobalTimeMarkTime(int pIndex, FBTime pTime)
Sets a new time for an existing global time mark.
FBPlayerControl::SetPlaySpeed
void SetPlaySpeed(double pSpeed)
Set Play Speed.
kFBPlayerControlRecordModeOff
@ kFBPlayerControlRecordModeOff
Record mode off.
Definition: fbplayercontrol.h:129
FBTransportSnapMode
FBTransportSnapMode
Available snap methods for the transport control.
Definition: fbplayercontrol.h:103
kFBTransportNoLoop
@ kFBTransportNoLoop
Playback not looping.
Definition: fbplayercontrol.h:113
FBPlayerControl::GetTimeReferential
FBTimeReferential GetTimeReferential()
Get Time Referential.
FBPlayerControl::StepForward
bool StepForward()
Step one frame ahead.
kFBSpeed_1_4x
@ kFBSpeed_1_4x
0.25x
Definition: fbplayercontrol.h:87
FBPlayerControl::GetGlobalTimeMarkName
const char * GetGlobalTimeMarkName(int pIndex)
Returns the name associated with a global time mark.
FBReferenceTime::ItemIndex
FBPropertyInt ItemIndex
Read Write Property: Current reference time index.
Definition: fbplayercontrol.h:566
FBReferenceTime::GetReferenceTimeName
const char * GetReferenceTimeName(int pID)
Get the name of a time reference.
FBPlayerControl::GetPlaySpeedMode
FBTransportPlaySpeed GetPlaySpeedMode()
Get Play Speed Mode.
FBPropertyTime
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
Definition: fbproperties.h:1346
kFBTransportLoopThroughAllTakes
@ kFBTransportLoopThroughAllTakes
Playback from the current take through all takes in order then stops.
Definition: fbplayercontrol.h:115
kFBTimeFormatFrame
@ kFBTimeFormatFrame
Frame time display mode.
Definition: fbplayercontrol.h:76
FBPlayerControl::GotoEnd
bool GotoEnd(FBTimeReferential)
GotoEnd button (FastForward).
__FBClassDeclare
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
FBReferenceTime::Remove
void Remove(int pID)
Remove a reference time from the list.
__FB_FORWARD
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
kFBTransportPlayPrepare
@ kFBTransportPlayPrepare
!< Play mode
Definition: fbplayercontrol.h:61
FBTimeMarkAction
FBTimeMarkAction
Time (Global & Take) Mark assigned action.
Definition: fbdata.h:1629
FBEvent
Base Event class.
Definition: fbcomponent.h:940
FBEventPlayerControlChange::Type
FBPropertyPlayerControlChangeType Type
Read Only Property: Type of event.
Definition: fbplayercontrol.h:146
FBPlayerControl::IsRecording
FBPropertyBool IsRecording
Read Only Property: Is there a recording in progress?
Definition: fbplayercontrol.h:313
kFBPlayerControlGoto
@ kFBPlayerControlGoto
Goto.
Definition: fbplayercontrol.h:127
FBSDK_DLL
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbplayercontrol.h:48
kFBSpeed_1_2x
@ kFBSpeed_1_2x
0.50x
Definition: fbplayercontrol.h:89
kFBTransportSnapModeSnapAndPlayOnFrames
@ kFBTransportSnapModeSnapAndPlayOnFrames
Combines both Snap and Play on frames modes.
Definition: fbplayercontrol.h:107
FBPlayerControl::GetGlobalTimeMarkAction
FBTimeMarkAction GetGlobalTimeMarkAction(int pIndex)
Returns the action associated with a global time mark.
kFBPlayerControlStepForward
@ kFBPlayerControlStepForward
Step forward.
Definition: fbplayercontrol.h:125
FBPlayerControl::StepForward
bool StepForward(FBTimeReferential)
Step one frame ahead.
FBPlayerControl::SetGlobalTimeMarkColor
bool SetGlobalTimeMarkColor(int pIndex, FBColor pColor)
Sets a new color for an existing global time mark.
kFBPlayerControlNone
@ kFBPlayerControlNone
None.
Definition: fbplayercontrol.h:121
kFBSpeed_1_3x
@ kFBSpeed_1_3x
0.33x
Definition: fbplayercontrol.h:88
FBPropertyEvent
PropertyEvent: Base event class.
Definition: fbproperties.h:515
FBTimeReferential
FBTimeReferential
FBCommandState.
Definition: fbcommand.h:116
FBPlayerControl::TransportTimeFormat
FBPropertyTransportTimeFormat TransportTimeFormat
Read Write Property: Current Time Mode of the transport controls.
Definition: fbplayercontrol.h:319
FBPlayerControl::GetTransportMode
FBTransportMode GetTransportMode()
Get Transport Mode.
FBPropertyBool
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Definition: fbproperties.h:1308
FBPlayerControl::IsPlotting
FBPropertyBool IsPlotting
Read Only Property: Is there a plotting in progress?
Definition: fbplayercontrol.h:315
fbcomponent.h
Basic class definitions.
kFBPlayerControlPlayReverse
@ kFBPlayerControlPlayReverse
Play reverse.
Definition: fbplayercontrol.h:123
FBPlayerControl::LoopActive
FBPropertyBool LoopActive
Read Write Property: Is looping active?
Definition: fbplayercontrol.h:302
FBPlayerControl::GotoStart
bool GotoStart()
GotoStart button (Rewind).
FBPlayerControl::SetEditStart
void SetEditStart(FBTime pTime)
Set Edit Start.
kFBTransportStepBackwardPrepare
@ kFBTransportStepBackwardPrepare
!< Step backward.
Definition: fbplayercontrol.h:68
FBReferenceTime::Count
FBPropertyInt Count
Read Only Property: Number of reference times.
Definition: fbplayercontrol.h:565
kFBSpeed_3x
@ kFBSpeed_3x
3x
Definition: fbplayercontrol.h:93
kFBSpeed_5x
@ kFBSpeed_5x
5x
Definition: fbplayercontrol.h:95
FBPlayerControl::GotoEnd
bool GotoEnd()
GotoEnd button (FastForward).
FBPlayerControl::SetTimeReferential
void SetTimeReferential(FBTimeReferential pTimeReferential)
Set Time Referential.
FBPlayerControl::TheOne
static FBPlayerControl & TheOne()
Get the global object for this class.
kFBSpeed_1x
@ kFBSpeed_1x
1x
Definition: fbplayercontrol.h:90
FBPlayerControl::GetEditCurrentTime
FBTime GetEditCurrentTime()
Get Edit Current Time.
FBReferenceTime::CurrentTimeReferenceID
FBPropertyInt CurrentTimeReferenceID
Read Write Property: Current reference time ID
Definition: fbplayercontrol.h:568
FBPlayerControl::Goto
bool Goto(FBTime, FBTimeReferential)
Goto a time specified by pTime.
FBPlayerControl::GetGlobalTimeMarkCount
int GetGlobalTimeMarkCount()
Returns the number of global time marks.
kFBPlayerControlPlay
@ kFBPlayerControlPlay
Play.
Definition: fbplayercontrol.h:122
kFBTransportShuttlePrepare
@ kFBTransportShuttlePrepare
!< Shuttle mode
Definition: fbplayercontrol.h:63
kFBPlayerControlStop
@ kFBPlayerControlStop
Stop.
Definition: fbplayercontrol.h:124
kFBTransportSnapModeNoSnap
@ kFBTransportSnapModeNoSnap
No snapping is applied.
Definition: fbplayercontrol.h:104
FBArrayTemplate
Template class to contain an array of items.
Definition: fbarray.h:78
FBPlayerControl::GetEditStart
FBTime GetEditStart()
Get Edit Start.
FBPlayerControl::PlayReverse
bool PlayReverse(bool pUseMarkers=false)
Play Reverse button.
kFBTransportJogPrepare
@ kFBTransportJogPrepare
!< Jog.
Definition: fbplayercontrol.h:65
FBPlayerControl::OnChange
FBPropertyEvent OnChange
Event Property: Fired when something in the player control has changed. (see FBEventPlayerControlChan...
Definition: fbplayercontrol.h:324
FBPlayerControl::NextMarker
FBPropertyTime NextMarker
Read Only Property: Next marked time.
Definition: fbplayercontrol.h:310
fbcommand.h
Declaration for the FBCommand class.
FBColor
Color vector.
Definition: fbtypes.h:448
FBPlayerControl::EvaluationResume
void EvaluationResume()
Resume device evaluation thread.
FBTimeMode
FBTimeMode
Different time modes available.
Definition: fbtime.h:63
FBPlayerControl::Record
bool Record(bool pOverrideTake=false, bool pCopyData=true)
Begin recording.
FBPlayerControl::LoopStop
FBPropertyTime LoopStop
Read Write Property: Loop end time.
Definition: fbplayercontrol.h:305
FBTransportPlaySpeed
FBTransportPlaySpeed
Available transport control play speed.
Definition: fbplayercontrol.h:84
FBReferenceTime::SetTime
void SetTime(int pID, FBTime pReferenceTime, FBTime pSystem)
Set a reference time.
FBPlayerControl::SetGlobalTimeMarkAction
bool SetGlobalTimeMarkAction(int pIndex, FBTimeMarkAction pAction)
Sets a new action for an existing global time mark.
kFBTransportSnapModePlayOnFrames
@ kFBTransportSnapModePlayOnFrames
When playing, plays to exact frames.
Definition: fbplayercontrol.h:106
FBPlayerControl::SnapMode
FBPropertyTransportSnapMode SnapMode
Read Write Property: Set the transport control snap mode.
Definition: fbplayercontrol.h:317
FBEventPlayerControlChange
Definition: fbplayercontrol.h:139
FBPlayerControl::LoopMode
FBPropertyTransportLoopMode LoopMode
Read Write Property: Loop mode.
Definition: fbplayercontrol.h:303
kFBTransportPlayReversePrepare
@ kFBTransportPlayReversePrepare
!< Play reverse.
Definition: fbplayercontrol.h:64
FBPlayerControl::Play
bool Play(bool pUseMarkers=false)
Play button.
FBPlayerControl::DeleteAllGlobalTimeMarks
void DeleteAllGlobalTimeMarks()
Delete all global time marks.
FBPlayerControl::GetEditZoomStart
FBTime GetEditZoomStart()
Get Edit Zoom Start.
kFBPlayerControlRecordModeOn
@ kFBPlayerControlRecordModeOn
Record mode on.
Definition: fbplayercontrol.h:128
kFBSpeed_1_10x
@ kFBSpeed_1_10x
0.10x
Definition: fbplayercontrol.h:85
FBPlayerControlChangeType
FBPlayerControlChangeType
Types of player control change events.
Definition: fbplayercontrol.h:120
FBPlayerControl::PlotSamplingPeriod
FBPropertyTime PlotSamplingPeriod
Read Write Property: Sampling period for the model plotting.
Definition: fbplayercontrol.h:322
FBComponent
MotionBuilder SDK base class.
Definition: fbcomponent.h:651
FBReferenceTime::Add
int Add(const char *pName)
Add a reference time to list.
FBPlayerControl::GetGlobalTimeMarkColor
FBColor GetGlobalTimeMarkColor(int pIndex)
Returns the color associated with a global time mark.
kFBPlayerControlStepBackward
@ kFBPlayerControlStepBackward
Step backward.
Definition: fbplayercontrol.h:126
FBPlayerControl::LockTransport
void LockTransport(bool pLock)
Lock the transport control.
FBPlayerControl::FBPlayerControl
FBPlayerControl(HIObject pObject=NULL)
Constructor.
FBPlayerControl::Stop
bool Stop()
Stop button.
kFBSpeed_2x
@ kFBSpeed_2x
2x
Definition: fbplayercontrol.h:92