1#ifndef __FBMOTIONFILEEXPORTOPTIONS_H__
2#define __FBMOTIONFILEEXPORTOPTIONS_H__
39#include <kaydaradef.h>
44#define FBSDK_DLL K_DLLIMPORT
49#ifdef FBSDKUseNamespace
50namespace FBSDKNamespace {
182#ifdef FBSDKUseNamespace
MotionBuilder SDK base class.
Customize motion file exporting.
FBPropertyBool OneTakePerFile
Read Write Property: True to export each take in a separated file, false to export all takes in a sin...
FBPropertyFileCreation FileCreation
Read Write Property: Operation to execute when trying to write a file that already exists on disk.
bool ResetTakeInfo()
Reset all the take info hold by this object.
const char * GetTakeName(int pTakeIndex) const
Get the take name of the given take.
bool SetTakeTimeMode(int pTakeIndex, FBTimeMode pTimeMode, double pCustomFrameRate=30.0)
Set the time mode of the given take.
FBTimeMode GetTakeTimeMode(int pTakeIndex) const
Get the time mode of the given take.
bool SetTakeSelect(int pTakeIndex, bool pSelect)
Set the export selection status of the given take.
const char * GetFilePath() const
Get the file path for the motion file(s) to create.
bool SetFilePath(const char *pFilePath)
Set the file path for the motion file(s) to create.
FBMotionFileExportOptions(const char *pFilePath, HIObject pObject=nullptr)
Constructor.
bool GetTakeSelect(int pTakeIndex) const
Get the export selection status of the given take.
FBTime GetTakeStart(int pTakeIndex) const
Get the start time of the given take.
bool SetTakeFilePath(int pTakeIndex, const char *pFilePath)
Set the export file path for given take.
double GetTakeFrameRate(int pTakeIndex) const
Get the actual frame rate of the given take as a double, useful when you have a custom frame rate.
FBPropertyModelSelection ModelSelection
Read Write Property: Specifies the content to export.
const char * GetTakeFilePath(int pTakeIndex) const
Get the export file path for given take.
bool IsValid() const
Is this object valid?
FBTime GetTakeStop(int pTakeIndex) const
Get the stop time of the given take.
int GetTakeCount() const
Get the take count that can be exported (i.e.: the take count in the scene).
FBPropertyBool AddPrefix
Read Write Property: Effective only if the OneTakePerFile property is true. True to prefix the constr...
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBTimeMode
Different time modes available.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.