50 #define FBSDK_DLL K_DLLIMPORT
61 #if !defined(K_NO_CONSTRUCTION_HISTORY)
66 #if !defined(K_NO_AUDIO)
70 #if !defined(K_NO_VIDEO)
74 #if !defined(K_NO_DECK)
78 #if !defined(K_NO_ASSETMNG)
82 #if !defined(K_NO_MANIPULATOR)
86 #ifdef FBSDKUseNamespace
90 #if !defined(K_NO_CHARACTER)
94 struct FBVideoGrabOptions;
118 kInt64 GetFrameNumber();
123 kInt64 GetFrameCount();
197 #if !defined(K_NO_CONSTRUCTION_HISTORY)
205 #if !defined(K_NO_AUDIO)
210 #if !defined(K_NO_VIDEO)
224 #if !defined(K_NO_ASSETMNG)
228 #if !defined(K_NO_MANIPULATOR)
236 static bool LibraryLoad(
const char *pPath);
242 static void* LibraryGetProcAddress(
const char *pPath,
const char *pFunctionName);
247 static bool LibraryFree(
const char *pPath);
258 static FBString MakeFullPath(
const char* pRelativeFilePath);
316 const FBStringList& GetLoadedPluginItemInfo(
const char* pPluginItemName )
const;
321 const FBStringList& GetLoadedPluginItemGroups(
const char* pPluginItemName )
const;
349 char* GetGroupName(
int pIndex );
355 bool GetGroupActive(
int pIndex );
361 void SetGroupActive(
int pIndex,
bool pState );
525 void RemoveFileFromMonitor(
FBString pFilePath);
530 void PauseFileMonitoring(
bool pPause =
true);
535 void CleanFileMonitoring(
bool pIncludePythonEditorScripts =
true);
740 virtual void FileVisited(
const char* pSrc)
const;
741 virtual void DirectoryVisited(
const char* pSrc)
const;
742 bool DoIt(
const char* pSrcPath,
bool pRecursive )
const;
776 static int GetCount();
780 static FBString GetSource(
int pIndex);
784 static FBString GetTarget(
int pIndex);
799 #ifdef FBSDKUseNamespace
PropertyEvent: Base event class.
Trigger engine management.
FBPropertyListVideoOut VideoOutputs
List: Available video outputs.
FBPropertyEventConnectionKeyingNotify OnConnectionKeyingNotify
Event: A keying event occurred when objects are being keyed.
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyTime SystemTime
Read Only Property: System time.
PropertyEvent: Global ConnectionStateNotify event.
class FBPropertyBaseComponent< FBScene * > FBPropertyScene
Point Cache Manager Interface to the point cache manager.
High priority critical section class.
FBPropertyEventConnectionNotify OnConnectionNotify
Event: A connection event occurred between objects in the system.
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
Hardware input and output interfaces.
FBFileMonitoringType
File Monitoring Type.
Property class: const char * (String).
PropertyEvent: Global ConnectionNotify event.
FBPropertyNewKeyInterpolationType NewKeyInterpolationType
Read Write Property: Current key interpolation type that will be used for new keys.
FBPropertyBool SuspendMessageBoxes
Read Write Property: While true, all the message boxes, that would normally be displayed, are suspended.
FBPropertyString ConfigPath
FBPropertyFileMonitoringType Type
Read Only Property: Type of file change event.
class FBPropertyBaseComponent< FBRenderer * > FBPropertyRenderer
FBPropertyString UserConfigPath
FBPropertyDouble ProcessMemory
Read Only Property: The size (MB) of process's working set memory.
FBPropertyModel SceneRootModel
Read Only Property: Scene root model.
FBPropertyBool AreMessageBoxesSuspended
Read Only Property: While true, the system is suspending the messages boxes that would normally be di...
Audio interface for FBSDK.
class FBVector3< double > FBVector3d
3D vector.
void(* FBTraceStubFct)(unsigned int pLevel, const char *pStr)
Trace Stub Function type define.
class FBPropertyBaseComponent< FBModel * > FBPropertyModel
FBVideo and derivative classes.
State before video renderer renders each frame.
FBPropertyBool CacheNormal
Read Write Property: Cache normal when true.
FBPropertyScene Scene
Read Only Property: Scene.
Main Scene change monitoring.
Custom 1 interpolation type.
FBPropertyDouble Version
Read Only Property: Application version.
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBPropertyBool AlwaysAskForPath
Read Write Property: Always ask for the point cache file save path when true.
Property: Action Action property to trigger function.
Linear interpolation type.
FBPropertyBool AllowCacheResampling
Read Write Property: Allow the resample models's existing point cache deformation when true...
FBPropertyModel NewModelRoot
Read Write Property: Valid only when ApplyCacheOnNewModel is on.
Plug-in item's description.
FBPropertyEvent OnFileChangeMainScene
Event: Main scene file change event.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyString BuildVersion
Read Only Property: Unique build version string.
class FBPropertyBaseComponent< FBAssetMng * > FBPropertyAssetMng
void FBTraceWithLevel(unsigned int pLevel, const char *pFormatString,...)
This function prints useful debugging strings in the console.
Declaration for the FBAssetMng class.
FBPropertyDouble FrameRate
Read Only Property: The frame rate of the viewer.
unsigned int FBTraceGetLevel()
Get Global Trace Detailed Level which affects all the output targets.
FBPropertyInt SaveEveryFrame
Read Write Property: Recording Frequency.
Smooth interpolation type.
EState
video rendering state
FBPropertyRenderer Renderer
Read Only Property: Default renderer.
FBPropertyTime LocalTime
Read Only Property: Local time in take.
class FBPropertyBase< FBVector2d, kFBPT_Vector2D > FBPropertyVector2d
FBPropertyVector2d type definition.
FBPropertyConstructionHistory ConstructionHistory
Read Only Property: Construction History.
FBPropertyBool ApplyCacheOnNewModel
Read Write Property: Duplicated the cached models, and assoicated the point cache to the new models...
FBPropertyString PathImages
Read Only Property: Path to images.
FBPropertyListObject Models
Read Write Property: Models to be recorded
bool FBUnRegisterTraceStubFct(FBTraceStubFct pFct)
Unregister custom trace stub function.
FBPropertyString DefaultPath
Read Write Property: Default point cache file save path.
Loop over directory content.
Create new manipulators using the FBManipulator class.
bool FBRegisterTraceStubFct(FBTraceStubFct pFct)
Register custom trace stub function.
FBPropertyEvent OnFileChangeFileReference
Event: File Reference file change event.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyEvent OnFileChangeAnimationClip
Event: Animation clip file change event.
FBPropertyDouble ProcessMemoryPeak
Read Only Property: The size (MB) of process's peak memory.
FBPropertyBool CreateMultiChannelCache
Read Write Property: Create a single multiple channel point cache file for all models when true...
FBPropertyEventConnectionDataNotify OnConnectionDataNotify
Event: A data event occurred between objects in the system.
FBPropertyAssetMng AssetManager
Read Only Property: Current asset manager.
PropertyEvent: UI idle event.
Spline Clamp interpolation type.
FBPropertyListAudioOut AudioOutputs
List: Available audio outputs.
FBPropertyBool CreateFilePerFrameCache
Read Write Property: Create the point cache file for each frame when true.
class FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate FBModelList;
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyVector2d DesktopSize
Read Only Property: The width and height of the desktop.
FBPropertyBool CacheAABBox
Read Write Property: Cache AABBox (Axis Aligned Bounding Box) when true.
void FBTrace(const char *pFormatString,...)
This function prints useful debugging strings in the console with kFBNORMAL_TRACE output detailed lev...
FBPropertyBool FullScreenViewer
Read Write Property: Indicates that the viewer is in full screen mode.
FBPropertyString TempPath
Read Only Property: Temporary path returned by the OS.
Custom 2 interpolation type.
FBPropertyString Path
Read Only Property: The path of changed file.
Contains abstract deck class to interface with a deck.
Smooth Clamp interpolation type.
FBPropertyBool ApplyGlobalTransform
Read Write Property: Include no-deformable models and the global transform to Vertex Cache when true...
class FBPropertyBaseComponent< FBConstructionHistory * > FBPropertyConstructionHistory
Custom 0 interpolation type.
MotionBuilder SDK base class.
FBPropertyEventConnectionStateNotify OnConnectionStateNotify
Event: A state change event occurred between objects in the system.
FBPropertyBool Active
Read Write Property: Active status of engine.
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
File Reference change monitoring.
FBPropertyEventVideoFrameRendering OnVideoFrameRendering
Event: A video frame rendering event occurred when the scene is being off-line rendered into video fi...
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyString PathMeshs
Read Only Property: Path to meshes
PropertyEvent: Video Frame Rendering Event
Animation clip change monitoring.
File Change Monitoring Interface to the file change monitoring.
unsigned int FBObjectGetLivingCount()
Get current total living object count.
class FBPropertyBaseComponent< FBTake * > FBPropertyTake
Fixed interpolation type.
Provides access to the underlying system, and the MotionBuilder scene.
void FBMakeFullPath(FBString &pFullPath, const char *pRootPath, const char *pFilePath)
FBeval.
void FBTraceSetLevel(unsigned int pNewLevel)
Set Global Trace Detailed Level which affects all the output targets.
unsigned int FBObjectGetGlobalUniqueId()
Get the global static object unique ID counter.
FBPropertyAction SetTransformReference
Action Property: Set the model's current transformation as the reference.
FBPropertyListVideoIn VideoInputs
List: Available video inputs.
FBNewKeyInterpolationType
Key Interpolation Type to use when creating new keys.
class FBPropertyBaseEnum< enum FBFileMonitoringType > FBPropertyFileMonitoringType
Invalid interpolation type, could be returned by the system if it is in an uninitialized state...
Declaration for the classes FBShaderManager, FBShader, FBPropertyListShader and other subclasses...
FBPropertyString ApplicationPath
Read Only Property: Location where the application is installed.
FBPropertyString ComputerName
Read Only Property: Computer name.
FBPropertyString BuildId
Read Only Property: Unique build Id string.
Python Editor Script change monitoring.
void FBObjectLifeLogEnable(bool pEnable)
Enable object creation / deletion logging.
FBPropertyListAudioIn AudioInputs
List: Available audio inputs.
FBPropertyEventUIIdle OnUIIdle
Event: User-interface idle event.
void FBObjectPrintLivings(unsigned int pStartUniqueId)
Print those living objects created when logging is enabled.
FBPropertyListCommPort CommPorts
List: Comm Ports available.
PropertyEvent: Global ConnectionDataNotify event.
FBPropertyTake CurrentTake
Read Write Property: Current take.
FBPropertyBool AutoKey
Read Write Property: Enable/Disable Auto Key feature (key when moving 3D objects).
void FBSleep(kULong MilliSeconds)
Sleep function Puts system to sleep for specified time.
FBPropertyListManipulator Manipulators
List: of manipulators.
PropertyEvent: Global KeyingNotify event.
FBPropertyEvent OnFileChangePythonEditorScript
Event: Python Editor Script file change event.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyModel RootModel
Read Only Property: Root model.
Event: Video Frame offline Rendering Event.
Spline interpolation type.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
class FBPropertyBaseEnum< enum FBNewKeyInterpolationType > FBPropertyNewKeyInterpolationType