FCDEffectParameterFactory Class Reference
[COLLADA Effect Classes [ColladaFX]]

[INTERNAL] The factory for COLLADA effect parameters. More...

#include <FCDEffectParameterFactory.h>

List of all members.

Static Public Member Functions

static FCDEffectParameterCreate (FCDocument *document, uint32 type)
 [INTERNAL] Creates a new effect parameter, given a type.
static FCDEffectParameterLoadFromXML (FCDocument *document, xmlNode *parameterNode, FUStatus *status)
 [INTERNAL] Generates the effect parameter object for the given XML node tree.


Detailed Description

[INTERNAL] The factory for COLLADA effect parameters.

Takes in a COLLADA XML tree and returns a new parameter that represent it, if one is possible.


Member Function Documentation

static FCDEffectParameter* FCDEffectParameterFactory::Create FCDocument document,
uint32  type
[static]
 

[INTERNAL] Creates a new effect parameter, given a type.

To create new effect parameters, use the FCDEffectParameterList::AddParameter function.

Parameters:
document The COLLADA document that will own the effect parameter.
type The type of effect to create. This value should reflect the FCDEffectParameter::Type enum.

static FCDEffectParameter* FCDEffectParameterFactory::LoadFromXML FCDocument document,
xmlNode *  parameterNode,
FUStatus status
[static]
 

[INTERNAL] Generates the effect parameter object for the given XML node tree.

Parameters:
document The COLLADA document that will own the effect parameter.
parameterNode The COLLADA XML tree node.
status An optional return status.
Returns:
The new effect parameter. This pointer will be NULL if no parameter can be generated from the given COLLADA XML tree node.


The documentation for this class was generated from the following file:
Generated on Fri May 12 16:44:41 2006 for FCollada by  doxygen 1.4.6-NO