1 #ifndef __FBCHARACTEREXTENSION_H__
2 #define __FBCHARACTEREXTENSION_H__
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
54 #ifdef FBSDKUseNamespace
55 namespace FBSDKNamespace {
281 #ifdef FBSDKUseNamespace
FBCharacterExtension * GetSourceExtension()
Return the character extension that is used to drive this extension during retargeting.
FBCharacter * GetCharacter()
Return the attached Character.
void SetSourceExtensionIndex(int pSrcExtIndex)
Set the enum that indicate which extension is used as a source during retargeting,...
void RemoveObjectAndProperties(FBComponent *pObj)
Remove TR Properties from Object.
FBPropertyCharacterExtensionStancePoseMode StancePoseMode
Read Write Property: Character extension stance pose mode.
void GoToStancePose()
Reset object position to the stance.
FBProperty * GetRetargetSourceProperty(int pPropIndex)
Return the source property of the given index (the source property is the property that drives the re...
virtual void FBDelete() override
Virtual FBDelete function.
void SetRetargetSourceProperty(int pPropIndex, FBProperty *pSourceProp)
Set the source property for retargeting.
FBProperty * GetRetargetReferenceProperty(int pPropIndex)
Return the reference property of the given index.
void SetSourceExtension(FBCharacterExtension *pSourceExtension)
Set the character extension to drive this extension during retargeting.
FBComponent * GetExtensionObjectWithLabelName(const FBString &pLabelName)
Find stored object based on label name.
void GetLabelNameWithExtensionObject(FBString &pLabelName, FBComponent *pObj, bool pReturnObjectNameIfNotFound=false)
Find the label name that was used to store object pose.
FBPropertyBool IncludePartInFullBody
Read Write Property: Include or not this extension when the Full Body mode is active.
int GetRetargetPropertyCount()
Return the total number of retarget properties.
FBCharacterExtension * GetMirrorExtension()
Return the character extension determined by MirrorLabel.
FBPropertyString Label
Read Write Property: The logical name of the extension, use for mirroring.
FBPropertyPlotAllowed PlotAllowed
Read Write Property: Controls if objects in the set are transformable.
FBPropertySyncActivationAndVisibilityMode SyncActivationAndVisibilityMode
Read Write Property: The "Sync Activation & Visibility" mode.
bool IsPropertyIncluded(FBProperty *pProp)
Return true if the property is in character extension.
FBPropertyBool IncludePartInBodyPart
Read Write Property: Include or not this extension when the Body Part mode is active.
void RemoveRetargetSourceProperty(int pPropIndex)
Remove the source property for retargeting.
void AddObjectProperties(FBComponent *pObj)
Add TR Properties from Object.
FBObjectPose * GetStancePose()
Return stance pose.
void RetargetAnimation(FBEvaluateInfo *pEvalInfo)
RetargetAnimation.
bool IsElementSelected()
Return true if one object in object dependency list is selected.
FBPropertyInt MirrorLabel
Read Write Property: Enum that indicate which extension is used as mirror, 0 is none,...
FBPropertyCharacterExtensionRetargetMode RetargetMode
Read Write Property: Character extension retarget mode.
void UpdateStancePose()
Update the stance pose to the current position of the character extension element.
int GetSourceExtensionIndex()
Return the enum that indicate which extension is used as a source during retargeting,...
FBCharacterExtension(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyModel ReferenceModel
Read Write Property: Controls the referential of the extension.
A character is the link between a motion source and a character model.
MotionBuilder SDK base class.
AnimationNodeNotify evaluation information.
Property: Base property class.
Character extension property list.
virtual FBCharacterExtension * operator[](int pIndex)
Get the CharacterExtension at pIndex.
PropertyList: Concrete class for PropertyList of component
Property class: const char * (String).
FBCharacterExtensionRetargetMode
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBSyncActivationAndVisibilityMode
@ kFBSyncMode_WithContolRig
@ kFBSyncMode_WithOthersThanControlRig
FBCharacterExtensionStancePoseMode
@ kFBStancePose_Self_Or_Reference_Selected
@ kFBStancePose_Reference_Selected
@ kFBPlotAllowed_Skeleton
@ kFBPlotAllowed_ControlRig
#define __FBClassDeclare(Name, Parent)
For internal use only.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
KeyingGroups interface for FBSDK.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.