Control set class.
These classes are under development and may change dramatically between versions.
Definition at line 673 of file fbcharacter.h.
#include <fbcharacter.h>
Public Member Functions | |
FBControlSet (const char *pName, HIObject pObject=NULL) | |
Constructor. | |
FBModel * | GetReferenceModel () |
Get the reference model associated with this Control Set. | |
const char * | GetReferenceName () |
Get the reference name associated with this Control Set. | |
int | GetIKEffectorIndex (FBModel *pModel) |
Return the Index of the Given Model. | |
FBModel * | GetIKEffectorModel (FBEffectorId pEffectorIndex, int pPivotIndex=0) |
Return the object associated to the given Index. | |
int | GetIKEffectorPivotCount (FBEffectorId pEffectorIndex) |
return the number of IK Effector Slot | |
const char * | GetIKEffectorName (FBEffectorId pEffectorIndex) |
return the name of IK Effector | |
int | GetFKIndex (FBModel *pModel) |
Return The Index of the Given Model. | |
FBModel * | GetFKModel (int pIndex) |
Return the object associated to the given Index. | |
const char * | GetFKName (int pIndex) |
return the name of FK Effector at the given index | |
int | GetFKCount () |
return the number of FK Effector Slot | |
Public Attributes | |
FBPropertyControlSetType | ControlSetType |
Read Property: the control Set Type (FKIK or IK). | |
FBPropertyBool | UseAxis |
Read Write Property: is using axis. | |
FBPropertyDouble | FKOpacity |
Read Write Property: Opacity value used on FK (between 0 and 100). |
FBControlSet | ( | const char * | pName, |
HIObject | pObject = NULL |
||
) |
Constructor.
pName | Name of new control set. |
pObject | For internal use only. This parameter does not need to be specified by the developer. |
FBModel* GetReferenceModel | ( | ) |
Get the reference model associated with this Control Set.
const char* GetReferenceName | ( | ) |
Get the reference name associated with this Control Set.
int GetIKEffectorIndex | ( | FBModel * | pModel | ) |
Return the Index of the Given Model.
pModel | Given Model to Obtain Index |
FBModel* GetIKEffectorModel | ( | FBEffectorId | pEffectorIndex, |
int | pPivotIndex = 0 |
||
) |
Return the object associated to the given Index.
pEffectorIndex | Given Index to obtain Model |
pPivotIndex | Index of effector pivot |
int GetIKEffectorPivotCount | ( | FBEffectorId | pEffectorIndex | ) |
return the number of IK Effector Slot
const char* GetIKEffectorName | ( | FBEffectorId | pEffectorIndex | ) |
return the name of IK Effector
pEffectorIndex | Given Index to obtain Name |
int GetFKIndex | ( | FBModel * | pModel | ) |
Return The Index of the Given Model.
pModel | Given Model to obtain Index |
FBModel* GetFKModel | ( | int | pIndex | ) |
Return the object associated to the given Index.
pIndex | Given Index to obtain Model |
const char* GetFKName | ( | int | pIndex | ) |
return the name of FK Effector at the given index
pIndex | Given Index |
int GetFKCount | ( | ) |
return the number of FK Effector Slot
FBPropertyControlSetType ControlSetType |
Read Property: the control Set Type (FKIK or IK).
Definition at line 741 of file fbcharacter.h.
Read Write Property: is using axis.
Definition at line 742 of file fbcharacter.h.
Read Write Property: Opacity value used on FK (between 0 and 100).
Definition at line 743 of file fbcharacter.h.