1 #ifndef __FBMOTIONFILEOPTIONS_H__ 2 #define __FBMOTIONFILEOPTIONS_H__ 39 #include <kaydaradef.h> 44 #define FBSDK_DLL K_DLLIMPORT 49 #ifdef FBSDKUseNamespace 56 enum FBModelSelection {
60 kFBSelectedModelAndChildren,
61 kFBPrefixGroupContainingModel,
107 int GetTakeCount()
const;
113 bool GetTakeSelect(
int pTakeIndex)
const;
119 void SetTakeSelect(
int pTakeIndex,
bool pSelect);
125 const char* GetTakeName(
int pTakeIndex)
const;
131 void SetTakeName(
int pTakeIndex,
const char* pName);
137 FBTime GetTakeStart(
int pTakeIndex);
144 void SetTakeStart(
int pTakeIndex,
FBTime pStartTime);
150 FBTime GetTakeStop(
int pTakeIndex);
157 void SetTakeStop(
int pTakeIndex,
FBTime pStopTime);
163 int GetTakeSamples(
int pTakeIndex);
170 void SetTakeSamples(
int pTakeIndex,
int pSamplesCount);
177 FBTimeMode GetTakeSamplingRateMode(
int pTakeIndex);
183 double GetTakeSamplingRate(
int pTakeIndex);
191 void SetTakeSamplingRate(
int pTakeIndex,
FBTimeMode pTimeMode,
double pCustomSamplingRate=30.0);
194 #ifdef FBSDKUseNamespace #define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyBool SetOccludedToLastValidPosition
Read Write Property: If set to true, occluded segments will be set to their last valid position...
FBPropertyBool IgnoreModelType
Read Write Property: If set to true, model type will not be considered when finding a matching model ...
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyBool KeepDummyNode
Read Write Property: If set to true, dummy bones from the file are not removed. Used for asf/amc file...
Customize motion file loading.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyBool ImportScaling
Read Write Property: If set to true, scaling values will be imported.
FBPropertyBool ImportDOF
Read Write Property: If set to true, the DOF value will be imported from the file.
FBPropertyModelSelection ModelSelection
Common settings when merging, unused with the CreateInsteadOfMerge property is set to true...
FBPropertyBool CreateOpticalSegments
Read Write Property: If set to true, optical segments will be created. Used for trc, c3d files.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyTakeSpanOnLoad TakeStartEnd
Read Write Property: Indicates how the start/end value of the take will be modified.
FBPropertyBool BaseRotationOnPreRotation
Read Write Property: If set to true, the base rotation will be imported as Pre Rotation. Used for htr, asf/amc files.
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyBool CreateInsteadOfMerge
Read Write Property: If set to true, the motion will imported/models will be created in the scene...
FBPropertyBool CreateUnusedOpticalSegments
Read Write Property: If set to true, unused optical segments will be created. Used for trc...
FBTimeMode
Different time modes available.
FBPropertyBool BaseTranslationOnRotationOffset
Read Write Property: If set to true, the base translation will be imported as Rotation Pivot offset...
FBPropertyBool KeepActorPrefix
Read Write Property: If set to true, the Actor prefix will be kept when naming each optical marker...
MotionBuilder SDK base class.
FBPropertyBool CreateReferenceNode
Settings based on file type.
FBPropertyBool SetLimits
Read Write Property: If set to true, use motion limits. Used for asf/amc files.
FBPropertyBool CreateUnmatchedModels
Read Write Property: If set to true, nodes will be created to match the hierarchical structure of the...