#include <FCDMaterial.h>
Inheritance diagram for FCDMaterial:
Public Member Functions | |
FCDMaterial (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDMaterial () |
Destructor. | |
virtual Type | GetType () const |
Retrieves the entity type for this class. | |
FCDEffect * | GetEffect () |
Retrieves the effect instantiated for this material. | |
const FCDEffect * | GetEffect () const |
See above. | |
FCDEntityReference * | GetEffectReference () |
Retrieves the effect reference for this material. | |
const FCDEntityReference * | GetEffectReference () const |
void | SetEffect (FCDEffect *_effect) |
Sets the effect instantiated for this material. | |
FCDMaterialTechniqueHintList & | GetTechniqueHints () |
Retrieves the list of the material platform-technique hints. | |
const FCDMaterialTechniqueHintList & | GetTechniqueHints () const |
See above. | |
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. | |
virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
Clones the material object. | |
DEPRECATED (3.05A, not recommended) void Flatten() | |
[INTERNAL] Flattens the material, pushing all the effect parameter overrides into the effect parameter generators and moving all the parameters to the effect technique level of abstraction. |
A COLLADA material is one of many abstraction level that defines how to render mesh polygon sets. It instantiates an effect and may overrides some of the effect parameters with its own values.
|
Constructor: do not use directly. Instead, use the FCDLibrary::AddEntity function.
|
|
Adds a local effect parameter to the local list.
|
|
Clones the material object. Everything is cloned, including the effect parameters.
Reimplemented from FCDEntity. |
|
[INTERNAL] Flattens the material, pushing all the effect parameter overrides into the effect parameter generators and moving all the parameters to the effect technique level of abstraction. To flatten the material, use the FCDMaterialInstance::FlattenMaterial function. |
|
Retrieves the effect instantiated for this material. The parameters of the effect may be overwritten by this material.
|
|
Retrieves a given local effect parameter.
|
|
Retrieves the number of local effect parameters.
|
|
Retrieves the effect reference for this material. Using the FCDEffectReference object for the effect is only useful when dealing manually with external references.
|
|
Retrieves the list of the material platform-technique hints.
|
|
Retrieves the entity type for this class. This function is part of the FCDEntity class interface.
Reimplemented from FCDEntity. |
|
Sets the effect instantiated for this material.
|