fbsdk/fbcharactersolver.h File Reference
#define FBCharacterSolverDeclare |
( |
|
ClassName, |
|
|
|
Parent |
|
) |
| |
Value:
public: \
ClassName(
const char* pName):Parent(pName) {
FBClassInit; } \
private:
#define FBClassInit
Class initialization.
#define FBClassDeclare(Name, Parent)
Class declaration.
Constraint class declaration.
- Parameters
-
ClassName | Constraint class name. |
Parent | Parent class name. |
- Warning
- The class must inherit directly from FBCharacterSolver.
Definition at line 99 of file fbcharactersolver.h.
Constraint class implementation.
- Parameters
-
ThisComponent | The name of the class to implement. |
Definition at line 108 of file fbcharactersolver.h.
#define FBRegisterCharacterSolver |
( |
|
UniqueNameStr, |
|
|
|
ClassName, |
|
|
|
Label, |
|
|
|
Description, |
|
|
|
IconFilename |
|
) |
| |
Value:HIObject RegisterCharacterSolver##ClassName##Create(
HIObject ,
const char* pName,
void * ) \
{ \
ClassName *Class = new ClassName(pName); \
Class->UniqueName = UniqueNameStr; \
if (Class->FBCreate()) { \
return Class->GetHIObject(); \
} else { \
delete Class; \
} \
FBRegisterObject( ClassName##R1,
"FbxStorable/CharacterSolver",UniqueNameStr,Description,RegisterCharacterSolver##ClassName##Create,
true, IconFilename );
\
FBRegisterObject( ClassName##R2,
"Character/Solvers",UniqueNameStr,Description,RegisterCharacterSolver##ClassName##Create,
true, IconFilename ); \
}
#define FBRegisterObject(LocalId, Path, Name, Description, Constructor, IsMultipleAllowed, IconFilename)
Event registration/un-registration.
#define FBLibraryModule(Name)
FBLibraryModule Define a module registration call.
Register the constraint.
- Parameters
-
UniqueNameStr | Unique name. |
ClassName | Name of the constraint class. |
Label | Short description of constraint. |
Description | Long description of constraint. |
IconFilename | Filename of associated icon. |
Definition at line 75 of file fbcharactersolver.h.
Go to the source code of this file.