1 #ifndef __FBCHARACTERFACE_H__
2 #define __FBCHARACTERFACE_H__
46 #include <kaydaradef.h>
51 #define FBSDK_DLL K_DLLIMPORT
57 #ifdef FBSDKUseNamespace
58 namespace FBSDKNamespace {
90 IObject_Declare(
override);
121 IObject_Declare(
override);
395 #ifdef FBSDKUseNamespace
Used to plot actor face animation.
virtual void FBDelete() override
Actual Actor Face destructor.
virtual bool PlotAnimation()
Plot the animation of the actor face.
FBActorFace(const char *pName, HIObject pObject=NULL)
Constructor.
FBActor is used to link motion data to a character.
Animates a character face using an actor as input.
bool ClusterShapeSetName(int pClusterGrpId, int pClusterShapeId, const char *pName)
Set the name of a shape in a cluster group.
int ClusterGroupFindByName(const char *pName)
Find a cluster group by name.
const char * ShapeGetName(int pShapeGrpId, int pShapeId)
Retrieve the name of the shape in a blendshape group.
FBPropertyBool ActiveInput
Read Write Property: Is the character input active?
int ExpressionFindByName(const char *pName)
Find an expression on the face by name.
int ClusterShapeFindByName(int pClusterGrpId, const char *pName)
Find a cluster shape in a cluster group by name.
bool ClusterGroupRemove(int pClusterGrpId)
Remove a cluster group from the character face.
FBCharacterFace(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyActorFace InputActorFace
Read Write Property: The index of the actor used for the input.
virtual void FBDelete() override
Actual Character Face destructor.
bool ClusterGroupSnapRest(int pClusterGrpId)
Set a cluster group's rest pose to the current pose.
int ClusterGroupAdd(FBModelList *pList, const char *pName=NULL)
Add a cluster group to the character face.
bool ShapeGroupAdd(FBModelList *pList, const char *pName=NULL)
Add a blendshape model group for each input model.
int ClusterShapeAdd(int pClusterGrpId, const char *pName=NULL)
Add a cluster shape to a cluster group.
int ShapeGetCount(int pShapeGrpId)
Retrieve the total number of shapes in a blendshape group.
int ShapeFindByName(int pShapeGrpId, const char *pName)
Find a shape in a blendshape group by name.
virtual bool PlotAnimation()
Plot the animation of the character face.
bool ClusterShapeRemove(int pClusterGrpId, int pClusterShapeId)
Remove a cluster shape from a cluster group.
const char * ShapeGroupGetName(int pShapeGrpId)
Retrieve the name of a blendshape group.
bool ShapeGroupRemove(int pShapeGrpId)
Remove a blendshape model group.
int ClusterGroupGetCount()
Retrieve the total number of cluster groups.
double ExpressionGetShapeWeight(int pExpressionId, int pGrpId, int pShapeId)
Retrieve the weight of a shape to an expression.
int ClusterShapeGetCount(int pClusterGrpId)
Retrieve the total number of shapes in a cluster group.
bool ExpressionRemove(int pExpressionId)
Remove an expression from the face.
void GotoRest()
Set the character face back to its rest shape.
bool ExpressionSetName(int pExpressionId, const char *pName)
Set the name of an expression.
bool ClusterGroupSetName(int pClusterGrpId, const char *pName)
Set the name of a cluster group.
bool ClusterShapeSnap(int pClusterGrpId, int pClusterShapeId)
Record the current pose of the cluster group to a cluster shape.
const char * ClusterGroupGetName(int pClusterGrpId)
Retrieve the name of a cluster group.
int ExpressionAdd(const char *pName)
Add an expression to the face.
bool ShapeSetName(int pShapeGrpId, int pShapeId, const char *pName)
Set the name of the shape in a blendshape group.
bool ExpressionSetShapeWeight(int pExpressionId, int pGrpId, int pShapeId, float pValue=0.0f)
Assign the weight of a shape to an expression.
int ShapeGroupFindByName(const char *pName)
Find a blendshape group by name.
int ExpressionGetCount()
Retrieve the total number of expressions on the face.
bool ShapeGroupSetName(int pShapeGrpId, const char *pName)
Set the name of a blendshape group.
int ShapeGroupGetCount()
Retrieve the total number of blendshape groups on this character face.
const char * ClusterShapeGetName(int pClusterGrpId, int pClusterShapeId)
Retrieve the name of a shape in a cluster group.
const char * ExpressionGetName(int pExpressionId)
Retrieve the name of an expression.
MotionBuilder SDK base class.
Base class for constraints.
PropertyList: Actor face.
FBActorFace * operator[](int pIndex)
Get the actor face at pIndex.
PropertyList: Character face.
FBCharacterFace * operator[](int pIndex)
Get the Character face at pIndex.
PropertyList: Concrete class for PropertyList of component
class K_DLLIMPORT FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate<FBModel*> FBModelList;
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
#define __FBClassDeclare(Name, Parent)
For internal use only.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.