1 #ifndef __FBMOTIONFILEOPTIONS_H__
2 #define __FBMOTIONFILEOPTIONS_H__
44 #define FBSDK_DLL K_DLLIMPORT
49 #ifdef FBSDKUseNamespace
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 KeepDummyNode
Read Write Property: If set to true, dummy bones from the file are not removed.
FBTimeMode
Different time modes available.
FBPropertyBool BaseRotationOnPreRotation
Read Write Property: If set to true, the base rotation will be imported as Pre Rotation.
FBPropertyModelSelection ModelSelection
Common settings when merging, unused with the CreateInsteadOfMerge property is set to true...
FBPropertyTakeSpanOnLoad TakeStartEnd
Read Write Property: Indicates how the start/end value of the take will be modified.
FBPropertyBool BaseTranslationOnRotationOffset
Read Write Property: If set to true, the base translation will be imported as Rotation Pivot offset...
FBPropertyBool CreateOpticalSegments
Read Write Property: If set to true, optical segments will be created.
Will Merges data with only the selected nodes or models.
FBPropertyBool CreateUnmatchedModels
Read Write Property: If set to true, nodes will be created to match the hierarchical structure of the...
FBPropertyBool IgnoreModelType
Read Write Property: If set to true, model type will not be considered when finding a matching model ...
FBPropertyBool ImportDOF
Read Write Property: If set to true, the DOF value will be imported from the file.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
MotionBuilder SDK base class.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyBool CreateUnusedOpticalSegments
Read Write Property: If set to true, unused optical segments will be created.
class FBPropertyBaseEnum< enum FBTakeSpanOnLoad > FBPropertyTakeSpanOnLoad
Will try to match the models from the file to those selected in the scene, as well as the children of...
FBPropertyBool CreateInsteadOfMerge
Read Write Property: If set to true, the motion will imported/models will be created in the scene...
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDKNamespace
FBSDKNamespace define.
Customize motion file loading.
FBPropertyBool SetOccludedToLastValidPosition
Read Write Property: If set to true, occluded segments will be set to their last valid position...
FBPropertyBool ImportScaling
Read Write Property: If set to true, scaling values will be imported.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyBool KeepActorPrefix
Read Write Property: If set to true, the Actor prefix will be kept when naming each optical marker...
FBModelSelection
Different model selection available.
FBPropertyBool CreateReferenceNode
Settings based on file type.
Will create the models in the motion file, used when there is no model to match in the scene...
class FBPropertyBaseEnum< enum FBModelSelection > FBPropertyModelSelection
Will finds the top node with the same prefix and imports the motion as if you selected kFBInHierarchy...
Will imports motion into the hierarchies of all models in your scene.
FBPropertyBool SetLimits
Read Write Property: If set to true, use motion limits.
No selection mode specified.
Will find the root node and will try to merge the data on the hierarchy, only useful if one model is ...