This reference page is linked to from the following overview topics: Motion Capture Devices, Model templates.
Model template class.
Model templates are 'placeholders' for animation input from devices. These generic 'models' can be any type of element, and permit the abstraction of the input from the actual type of model. In order to animate a model, one should bind the model to an animation node.
#include <fbcore.h>
Public Member Functions | |
FBModelTemplate (HIObject pObject=NULL) | |
Constructor from parent object. | |
FBModelTemplate (const char *pPrefix, const char *pName, FBModelTemplateStyle pStyle) | |
Constructor (no parent) from prefix, name, and style. | |
Public Attributes | |
FBPropertyListModelTemplate | Children |
List: Children for object hierarchy. | |
FBPropertyListModelTemplateBinding | Bindings |
List: Bindings for animation interface. | |
FBPropertyString | Prefix |
Read Write Property: Prefix of model template. | |
FBPropertyModel | Model |
Read Write Property: Model being interfaced. | |
FBPropertyVector3d | DefaultTranslation |
Read Write Property: Default translation. | |
FBPropertyVector3d | DefaultRotation |
Read Write Property: Default rotation. | |
FBPropertyVector3d | DefaultScaling |
Read Write Property: Default scaling. | |
Friends | |
class | FBDevice |
FBModelTemplate | ( | HIObject | pObject = NULL | ) |
Constructor from parent object.
pObject | For internal use only. |
FBModelTemplate | ( | const char * | pPrefix, |
const char * | pName, | ||
FBModelTemplateStyle | pStyle | ||
) |
Constructor (no parent) from prefix, name, and style.
pPrefix | Location of model template in application object directory structure. |
pName | Name of model template. |
pStyle | Style of model template. |
friend class FBDevice [friend] |
List: Children for object hierarchy.
List: Bindings for animation interface.
Read Write Property: Prefix of model template.
FBPropertyModel Model |
Read Write Property: Model being interfaced.
Read Write Property: Default translation.
Read Write Property: Default rotation.
Read Write Property: Default scaling.