45 #include <kaydaradef.h> 50 #define FBSDK_DLL K_DLLIMPORT 60 #include <fbsdk/fbevaluateinfo.h> 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) 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 );
498 FBPropertyFileMonitoringType
Type;
525 void RemoveFileFromMonitor(
FBString pFilePath);
530 void PauseFileMonitoring(
bool pPause =
true);
535 void CleanFileMonitoring(
bool pIncludePythonEditorScripts =
true);
637 kFBCRITICAL_TRACE = 1,
638 kFBNORMAL_TRACE = 10,
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 FBPropertyEventConnectionStateNotify OnConnectionStateNotify
Event: A state change event occurred between objects in the system.
FBPropertyEventConnectionNotify OnConnectionNotify
Event: A connection event occurred between objects in the system.
FBPropertyDouble ProcessMemoryPeak
Read Only Property: The size (MB) of process's peak memory.
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
FB_FORWARD(FBDirMap)
FBDirMap: Allows to map a directory to another directory.
#define __FBClassDeclare(Name, Parent)
For internal use only.
Invalid interpolation type, could be returned by the system if it is in an uninitialized state...
Animation clip change monitoring.
FBPropertyListCommPort CommPorts
List: Comm Ports available.
FBPropertyBool Active
Read Write Property: Active status of engine.
K_DLLIMPORT void FBSleep(kULong MilliSeconds)
Sleep function Puts system to sleep for specified time.
FBPropertyNewKeyInterpolationType NewKeyInterpolationType
Read Write Property: Current key interpolation type that will be used for new keys.
FBPropertyBool AllowCacheResampling
Read Write Property: Allow the resample models's existing point cache deformation when true...
FBPropertyEventConnectionKeyingNotify OnConnectionKeyingNotify
Event: A keying event occurred when objects are being keyed.
FBPropertyString ApplicationPath
Read Only Property: Location where the application is installed.
K_DLLIMPORT unsigned int FBObjectGetLivingCount()
Get current total living object count.
High priority critical section class.
Hardware input and output interfaces.
FBPropertyString ComputerName
Read Only Property: Computer name.
Fixed interpolation type.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBPropertyString BuildVersion
Read Only Property: Unique build version string. The format of the build version information is: Majo...
Event: Video Frame offline Rendering Event.
Linear interpolation type.
FBNewKeyInterpolationType
Key Interpolation Type to use when creating new keys.
K_DLLIMPORT void FBObjectLifeLogEnable(bool pEnable)
Enable object creation / deletion logging.
Audio interface for FBSDK.
FBPropertyListManipulator Manipulators
List: of manipulators.
FBPropertyString BuildId
Read Only Property: Unique build Id string.
void(* FBTraceStubFct)(unsigned int pLevel, const char *pStr)
Trace Stub Function type define.
FBPropertyModel SceneRootModel
Read Only Property: Scene root model.
FBPropertyVector2d DesktopSize
Read Only Property: The width and height of the desktop.
FBPropertyEvent OnFileChangeMainScene
Event: Main scene file change event.
FBVideo and derivative classes.
FBPropertyAction SetTransformReference
Action Property: Set the model's current transformation as the reference.
class K_DLLIMPORT FBPropertyBase< FBVector2d, kFBPT_Vector2D > FBPropertyVector2d
FBPropertyVector2d type definition.
Custom 2 interpolation type.
FBPropertyString Path
Read Only Property: The path of changed file.
FBPropertyModel RootModel
Read Only Property: Root model.
FBPropertyListAudioOut AudioOutputs
List: Available audio outputs.
FBPropertyEventUIIdle OnUIIdle
Event: User-interface idle event. Useful callback for less frequent GUI refresh and etc...
FBPropertyBool AreMessageBoxesSuspended
Read Only Property: While true, the system is suspending the messages boxes that would normally be di...
FBPropertyEvent OnFileChangeAnimationClip
Event: Animation clip file change event.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
PropertyEvent: Global ConnectionDataNotify event.
FBPropertyString TempPath
Read Only Property: Temporary path returned by the OS.
PropertyEvent: Video Frame Rendering Event
FBPropertyString DefaultPath
Read Write Property: Default point cache file save path.
Declaration for the FBAssetMng class.
K_DLLIMPORT unsigned int FBTraceGetLevel()
Get Global Trace Detailed Level which affects all the output targets.
Main Scene change monitoring.
FBPropertyBool ApplyCacheOnNewModel
Read Write Property: Duplicated the cached models, and assoicated the point cache to the new models...
State before video renderer renders each frame.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Spline Clamp interpolation type.
Custom 0 interpolation type.
FBPropertyFileMonitoringType Type
Read Only Property: Type of file change event.
FBPropertyString PathImages
Read Only Property: Path to images.
K_DLLIMPORT void FBTraceWithLevel(unsigned int pLevel, const char *pFormatString,...)
This function prints useful debugging strings in the console.
PropertyEvent: Base event class.
FBPropertyString PathMeshs
Read Only Property: Path to meshes
K_DLLIMPORT bool FBRegisterTraceStubFct(FBTraceStubFct pFct)
Register custom trace stub function.
FBPropertyListVideoIn VideoInputs
List: Available video inputs.
FBPropertyListObject Models
Read Write Property: Models to be recorded
PropertyList: Manipulator.
FBPropertyScene Scene
Read Only Property: Scene.
FBPropertyBool AutoKey
Read Write Property: Enable/Disable Auto Key feature (key when moving 3D objects).
Point Cache Manager Interface to the point cache manager.
FBPropertyTime LocalTime
Read Only Property: Local time in take.
Create new manipulators using the FBManipulator class.
K_DLLIMPORT void FBObjectPrintLivings(unsigned int pStartUniqueId)
Print those living objects created when logging is enabled.
File Change Monitoring Interface to the file change monitoring.
FBPropertyListVideoOut VideoOutputs
List: Available video outputs.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
PropertyEvent: Global KeyingNotify event.
Custom 1 interpolation type.
K_DLLIMPORT unsigned int FBObjectGetGlobalUniqueId()
Get the global static object unique ID counter.
K_DLLIMPORT bool FBUnRegisterTraceStubFct(FBTraceStubFct pFct)
Unregister custom trace stub function.
File Reference change monitoring.
FBPropertyBool CacheNormal
Read Write Property: Cache normal when true.
FBPropertyBool ApplyGlobalTransform
Read Write Property: Include no-deformable models and the global transform to Vertex Cache when true...
Trigger engine management.
class K_DLLIMPORT FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate<FBModel*> FBModelList;
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyBool CreateMultiChannelCache
Read Write Property: Create a single multiple channel point cache file for all models when true...
Property: Action Action property to trigger function.
PropertyEvent: Global ConnectionStateNotify event.
Property class: const char * (String).
FBPropertyEvent OnFileChangePythonEditorScript
Event: Python Editor Script file change event.
FBPropertyBool AlwaysAskForPath
Read Write Property: Always ask for the point cache file save path when true.
Contains abstract deck class to interface with a deck.
K_DLLIMPORT void FBMakeFullPath(FBString &pFullPath, const char *pRootPath, const char *pFilePath)
FBeval.
Smooth interpolation type.
K_DLLIMPORT void FBTrace(const char *pFormatString,...)
This function prints useful debugging strings in the console with kFBNORMAL_TRACE output detailed lev...
FBPropertyBool CacheAABBox
Read Write Property: Cache AABBox (Axis Aligned Bounding Box) when true.
FBPropertyBool SuspendMessageBoxes
Read Write Property: While true, all the message boxes, that would normally be displayed, are suspended.
FBPropertyConstructionHistory ConstructionHistory
Read Only Property: Construction History.
Plug-in item's description.
FBPropertyRenderer Renderer
Read Only Property: Default renderer.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBPropertyDouble ProcessMemory
Read Only Property: The size (MB) of process's working set memory.
Spline interpolation type.
FBPropertyDouble Version
Read Only Property: Application version.
Plug-in item's filename.
class K_DLLIMPORT FBVector3< double > FBVector3d
3D vector.
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
Loop over directory content.
Video Grabbing Options structure.
K_DLLIMPORT void FBTraceSetLevel(unsigned int pNewLevel)
Set Global Trace Detailed Level which affects all the output targets.
FBPropertyTime SystemTime
Read Only Property: System time.
FBPropertyAssetMng AssetManager
Read Only Property: Current asset manager.
FBFileMonitoringType
File Monitoring Type.
Declaration for the classes FBShaderManager, FBShader, FBPropertyListShader and other subclasses...
Provides access to the underlying system, and the MotionBuilder scene.
MotionBuilder SDK base class.
FBPropertyListAudioIn AudioInputs
List: Available audio inputs.
FBPropertyDouble FrameRate
Read Only Property: The frame rate of the viewer.
FBPropertyModel NewModelRoot
Read Write Property: Valid only when ApplyCacheOnNewModel is on. Create New Models under NewModelRoot...
PropertyEvent: Global ConnectionNotify event.
PropertyEvent: UI idle event.
FBPropertyEventConnectionDataNotify OnConnectionDataNotify
Event: A data event occurred between objects in the system.
FBPropertyEvent OnFileChangeFileReference
Event: File Reference file change event.
EState
video rendering state
Smooth Clamp interpolation type.
FBPropertyBool CreateFilePerFrameCache
Read Write Property: Create the point cache file for each frame when true.
A character is the link between a motion source and a character model.
FBPropertyBool FullScreenViewer
Read Write Property: Indicates that the viewer is in full screen mode.
FBPropertyEventVideoFrameRendering OnVideoFrameRendering
Event: A video frame rendering event occurred when the scene is being off-line rendered into video fi...
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyInt SaveEveryFrame
Read Write Property: Recording Frequency.
FBPropertyTake CurrentTake
Read Write Property: Current take.
Python Editor Script change monitoring.