#include <FCDGeometryInstance.h>
Inheritance diagram for FCDGeometryInstance:

Public Member Functions | |
| virtual | ~FCDGeometryInstance () |
| Destructor. | |
| virtual Type | GetType () const |
| Retrieves the entity instance class type. | |
| size_t | GetEffectParameterCount () const |
| Retrieves the number of local effect parameters. | |
| FCDEffectParameter * | GetEffectParameter (size_t index) |
| Retrieves a given local effect parameter. | |
| const FCDEffectParameter * | GetEffectParameter (size_t index) const |
| FCDEffectParameter * | AddEffectParameter (uint32 type) |
| Adds a local effect parameter to the local list. | |
| FCDMaterialInstance * | FindMaterialInstance (const fchar *semantic) |
| Retrieves a material instance bound to the given material semantic. | |
| FCDMaterialInstance * | FindMaterialInstance (const fstring &semantic) |
| See above. | |
| const FCDMaterialInstance * | FindMaterialInstance (const fchar *semantic) const |
| See above. | |
| const FCDMaterialInstance * | FindMaterialInstance (const fstring &semantic) const |
| See above. | |
| size_t | GetMaterialInstanceCount () const |
| Retrieves the number of material instances. | |
| FCDMaterialInstance * | GetMaterialInstance (size_t index) |
| Retrieves a material instance. | |
| const FCDMaterialInstance * | GetMaterialInstance (size_t index) const |
| See above. | |
| DEPRECATED (3.05A, GetMaterialInstance) inline FCDMaterialInstance **GetMaterialInstances() | |
| Retrieves the material instances. | |
| DEPRECATED (3.05A, GetMaterialInstance) inline const FCDMaterialInstance **GetMaterialInstances() const | |
| See above. | |
| FCDMaterialInstance * | AddMaterialInstance () |
| Adds an empty material instance to the geometry. | |
| FCDMaterialInstance * | AddMaterialInstance (FCDMaterial *material, FCDGeometryPolygons *polygons) |
| Binds a material with a polygons set for this geometry instance. | |
| FCDMaterialInstance * | AddMaterialInstance (FCDMaterial *material, const fchar *semantic) |
| Binds a material to a material semantic token. | |
| FCDMaterialInstance * | AddMaterialInstance (FCDMaterial *material, const fstring &semantic) |
| See above. | |
| virtual FCDEntityInstance * | Clone (FCDEntityInstance *clone=NULL) const |
| Clones the geometry instance. | |
| virtual void | CleanSubId (FUSUniqueStringMap *parentStringMap) |
| [INTERNAL] Cleans up the sub identifiers. | |
Protected Member Functions | |
| FCDGeometryInstance (FCDocument *document, FCDSceneNode *parent, FCDEntity::Type entityType=FCDEntity::GEOMETRY) | |
| Constructor. | |
Friends | |
| class | FCDEntityInstanceFactory |
It is during the instantiation of geometries that the mesh polygons are attached to actual materials.
|
||||||||||||||||
|
Constructor.
|
|
|
Adds a local effect parameter to the local list.
|
|
||||||||||||
|
Binds a material to a material semantic token. No verification is done to ensure that the material semantic token is used within the instanced geometry or that a material is not already bound to this token.
|
|
||||||||||||
|
Binds a material with a polygons set for this geometry instance. No verification is done to ensure that the polygons set is not already bound to another material.
|
|
|
Adds an empty material instance to the geometry. This new material instance will be unbound.
|
|
|
[INTERNAL] Cleans up the sub identifiers. The sub identifiers must be unique with respect to its parent. This method corrects the sub ids if there are conflicts.
Reimplemented from FCDEntityInstance. |
|
|
Clones the geometry instance.
Reimplemented from FCDEntityInstance. Reimplemented in FCDControllerInstance. |
|
||||||||||||
|
Retrieves the material instances.
|
|
|
Retrieves a material instance bound to the given material semantic.
|
|
|
Retrieves a given local effect parameter.
|
|
|
Retrieves the number of local effect parameters.
|
|
|
Retrieves a material instance.
|
|
|
Retrieves the number of material instances.
|
|
|
Retrieves the entity instance class type. This is used to determine the up-class for the entity instance object.
Reimplemented from FCDEntityInstance. Reimplemented in FCDControllerInstance. |
1.4.6-NO