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 );
505 void RemoveFileFromMonitor(
FBString pFilePath);
510 void PauseFileMonitoring(
bool pPause =
true);
515 void CleanFileMonitoring(
bool pIncludePythonEditorScripts =
true);
720 virtual void FileVisited(
const char* pSrc)
const;
721 virtual void DirectoryVisited(
const char* pSrc)
const;
722 bool DoIt(
const char* pSrcPath,
bool pRecursive )
const;
756 static int GetCount();
760 static FBString GetSource(
int pIndex);
764 static FBString GetTarget(
int pIndex);
779 #ifdef FBSDKUseNamespace
class FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate FBModelList;
#define __FBClassDeclare(Name, Parent)
For internal use only.
unsigned int FBTraceGetLevel()
Get Global Trace Detailed Level which affects all the output targets.
class FBPropertyBase< FBVector2d, kFBPT_Vector2D > FBPropertyVector2d
FBPropertyVector2d type definition.
FBPropertyDouble ProcessMemoryPeak
Read Only Property: The size (MB) of process's peak memory.
void FBTraceSetLevel(unsigned int pNewLevel)
Set Global Trace Detailed Level which affects all the output targets.
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
Hardware input and output interfaces.
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.
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.
FBPropertyEventConnectionDataNotify OnConnectionDataNotify
Event: A data event occurred between objects in the system.
FBPropertyAssetMng AssetManager
Read Only Property: Current asset manager.
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
FBPropertyListAudioOut AudioOutputs
List: Available audio outputs.
FBPropertyVector2d DesktopSize
Read Only Property: The width and height of the desktop.
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
PropertyEvent: Global KeyingNotify event.
Audio interface for FBSDK.
void(* FBTraceStubFct)(unsigned int pLevel, const char *pStr)
Trace Stub Function type define.
FBPropertyEvent OnFileChangePythonEditorScript
Event: Python Editor Script file change event.
void FBTraceWithLevel(unsigned int pLevel, const char *pFormatString,...)
This function prints useful debugging strings in the console.
File Reference change monitoring.
void FBObjectPrintLivings(unsigned int pStartUniqueId)
Print those living objects created when logging is enabled.
FBVideo and derivative classes.
void FBObjectLifeLogEnable(bool pEnable)
Enable object creation / deletion logging.
FBPropertyBool CacheNormal
Read Write Property: Cache normal when true.
FBPropertyEventConnectionStateNotify OnConnectionStateNotify
Event: A state change event occurred between objects in the system.
FBPropertyBool AlwaysAskForPath
Read Write Property: Always ask for the point cache file save path when true.
class FBPropertyBaseComponent< FBConstructionHistory * > FBPropertyConstructionHistory
FBPropertyEventVideoFrameRendering OnVideoFrameRendering
Event: A video frame rendering event occurred when the scene is being off-line rendered into video fi...
PropertyList: Manipulator.
FBPropertyBool AllowCacheResampling
Read Write Property: Allow the resample models's existing point cache deformation when true...
Property class: const char * (String).
FBPropertyBool Active
Read Write Property: Active status of engine.
FBPropertyModel NewModelRoot
Read Write Property: Valid only when ApplyCacheOnNewModel is on.
FBPropertyString PathMeshs
Read Only Property: Path to meshes
Animation clip change monitoring.
FBPropertyString ComputerName
Read Only Property: Computer name.
PropertyEvent: Global ConnectionDataNotify event.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyListAudioIn AudioInputs
List: Available audio inputs.
FBPropertyEventUIIdle OnUIIdle
Event: User-interface idle event.
Declaration for the FBAssetMng class.
MotionBuilder SDK base class.
FBPropertyListCommPort CommPorts
List: Comm Ports available.
FBPropertyInt SaveEveryFrame
Read Write Property: Recording Frequency.
class FBPropertyBaseComponent< FBTake * > FBPropertyTake
FBPropertyListVideoIn VideoInputs
List: Available video inputs.
PropertyEvent: Global ConnectionStateNotify event.
FBPropertyTake CurrentTake
Read Write Property: Current take.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyListManipulator Manipulators
List: of manipulators.
FBPropertyString ApplicationPath
Read Only Property: Location where the application is installed.
FBPropertyString BuildId
Read Only Property: Unique build Id string.
Python Editor Script change monitoring.
class FBPropertyBaseEnum< enum FBFileMonitoringType > FBPropertyFileMonitoringType
FBPropertyBool ApplyCacheOnNewModel
Read Write Property: Duplicated the cached models, and assoicated the point cache to the new models...
FBPropertyEvent OnFileChangeMainScene
Event: Main scene file change event.
class FBPropertyBaseComponent< FBScene * > FBPropertyScene
Point Cache Manager Interface to the point cache manager.
FBPropertyEventConnectionKeyingNotify OnConnectionKeyingNotify
Event: A keying event occurred when objects are being keyed.
FBPropertyListObject Models
Read Write Property: Models to be recorded
FBPropertyTime SystemTime
Read Only Property: System time.
Property: Action Action property to trigger function.
FBPropertyString DefaultPath
Read Write Property: Default point cache file save path.
FBFileMonitoringType
File Monitoring Type.
Create new manipulators using the FBManipulator class.
FBPropertyEventConnectionNotify OnConnectionNotify
Event: A connection event occurred between objects in the system.
FBPropertyModel RootModel
Read Only Property: Root model.
class FBPropertyBaseComponent< FBRenderer * > FBPropertyRenderer
FBPropertyEvent OnFileChangeFileReference
Event: File Reference file change event.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Loop over directory content.
FBPropertyListVideoOut VideoOutputs
List: Available video outputs.
unsigned int FBObjectGetLivingCount()
Get current total living object count.
FBPropertyBool SuspendMessageBoxes
Read Write Property: While true, all the message boxes, that would normally be displayed, are suspended.
FBPropertyString ConfigPath
class FBVector3< double > FBVector3d
3D vector.
FBPropertyBool CreateMultiChannelCache
Read Write Property: Create a single multiple channel point cache file for all models when true...
PropertyEvent: UI idle event.
class FBPropertyBaseComponent< FBModel * > FBPropertyModel
FBPropertyBool CreateFilePerFrameCache
Read Write Property: Create the point cache file for each frame when true.
High priority critical section class.
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyBool CacheAABBox
Read Write Property: Cache AABBox (Axis Aligned Bounding Box) when true.
PropertyEvent: Base event class.
PropertyEvent: Global ConnectionNotify event.
State before video renderer renders each frame.
Contains abstract deck class to interface with a deck.
FBPropertyString UserConfigPath
FBPropertyBool ApplyGlobalTransform
Read Write Property: Include no-deformable models and the global transform to Vertex Cache when true...
FBPropertyScene Scene
Read Only Property: Scene.
FBPropertyDouble ProcessMemory
Read Only Property: The size (MB) of process's working set memory.
FBPropertyModel SceneRootModel
Read Only Property: Scene root model.
FBPropertyFileMonitoringType Type
Read Only Property: Type of file change event.
FBPropertyBool AreMessageBoxesSuspended
Read Only Property: While true, the system is suspending the messages boxes that would normally be di...
void FBMakeFullPath(FBString &pFullPath, const char *pRootPath, const char *pFilePath)
FBeval.
void FBTrace(const char *pFormatString,...)
This function prints useful debugging strings in the console with kFBNORMAL_TRACE output detailed lev...
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Event: Video Frame offline Rendering Event.
Plug-in item's description.
PropertyEvent: Video Frame Rendering Event
EState
video rendering state
Main Scene change monitoring.
Provides access to the underlying system, and the MotionBuilder scene.
Trigger engine management.
FBPropertyDouble Version
Read Only Property: Application version.
FBPropertyAction SetTransformReference
Action Property: Set the model's current transformation as the reference.
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
bool FBUnRegisterTraceStubFct(FBTraceStubFct pFct)
Unregister custom trace stub function.
FBPropertyRenderer Renderer
Read Only Property: Default renderer.
Declaration for the classes FBShaderManager, FBShader, FBPropertyListShader and other subclasses...
FBPropertyTime LocalTime
Read Only Property: Local time in take.
File Change Monitoring Interface to the file change monitoring.
bool FBRegisterTraceStubFct(FBTraceStubFct pFct)
Register custom trace stub function.
unsigned int FBObjectGetGlobalUniqueId()
Get the global static object unique ID counter.
FBPropertyEvent OnFileChangeAnimationClip
Event: Animation clip file change event.
FBPropertyConstructionHistory ConstructionHistory
Read Only Property: Construction History.
FBPropertyString BuildVersion
Read Only Property: Unique build version string.
FBPropertyString PathImages
Read Only Property: Path to images.
FBPropertyDouble FrameRate
Read Only Property: The frame rate of the viewer.
class FBPropertyBaseComponent< FBAssetMng * > FBPropertyAssetMng
FBPropertyString Path
Read Only Property: The path of changed file.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...