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