#include <FCDEffectParameter.h>
Inheritance diagram for FCDEffectParameterVector:
Public Types | |
enum | FloatType { FLOAT, HALF } |
The supported types of float-point values. More... | |
Public Member Functions | |
FCDEffectParameterVector (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDEffectParameterVector () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the type of effect parameter class. | |
FloatType | GetFloatType () const |
Retrieves the type of floating-point value held by this effect parameter. | |
void | SetFloatType (FloatType type) |
Sets the type of floating-point value held by this effect parameter. | |
float * | GetVector () |
Sets the vector value of the effect parameter. | |
const float * | GetVector () const |
See above. | |
float & | GetValueX () |
Retrieves the first floating-point value of the effect parameter. | |
const float & | GetValueX () const |
See above. | |
void | SetValueX (float _value) |
Sets the first floating-point value of the effect parameter. | |
float & | GetValueY () |
Retrieves the second floating-point value of the effect parameter. | |
const float & | GetValueY () const |
See above. | |
void | SetValueY (float _value) |
Sets the second floating-point value of the effect parameter. | |
float & | GetValueZ () |
Retrieves the third floating-point value of the effect parameter. | |
const float & | GetValueZ () const |
See above. | |
void | SetValueZ (float _value) |
Sets the third floating-point value of the effect parameter. | |
float & | GetValueW () |
Retrieves the fourth floating-point value of the effect parameter. | |
const float & | GetValueW () const |
See above. | |
void | SetValueW (float _value) |
Sets the fourth floating-point value of the effect parameter. | |
virtual FCDEffectParameter * | Clone () |
Creates a full copy of the effect parameter. | |
virtual void | Overwrite (FCDEffectParameter *target) |
[INTERNAL] Overwrites the target parameter with this parameter. | |
virtual FUStatus | LoadFromXML (xmlNode *parameterNode) |
[INTERNAL] Reads in the effect parameter from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the effect parameter to the given COLLADA XML tree node. |
Contains four, possibly animated, floating-point values. The type of the floating-point values may be HALF or FLOAT.
|
The supported types of float-point values.
|
|
Constructor: do not use directly. Instead, use the FCDEffectParameterList::AddParameter function.
|
|
Destructor: do not use directly. Instead, use the FCDEffectParameterList::ReleaseParameter function. When released, the effect parameter list will also release all its parameters, if it owns them. |
|
Creates a full copy of the effect parameter.
Implements FCDEffectParameter. |
|
Retrieves the type of floating-point value held by this effect parameter.
|
|
Retrieves the type of effect parameter class.
Implements FCDEffectParameter. |
|
Retrieves the fourth floating-point value of the effect parameter.
|
|
Retrieves the first floating-point value of the effect parameter.
|
|
Retrieves the second floating-point value of the effect parameter.
|
|
Retrieves the third floating-point value of the effect parameter.
|
|
Sets the vector value of the effect parameter.
|
|
[INTERNAL] Reads in the effect parameter from a given COLLADA XML tree node.
Reimplemented from FCDEffectParameter. |
|
[INTERNAL] Overwrites the target parameter with this parameter. This function is used during the flattening of materials.
Reimplemented from FCDEffectParameter. |
|
Sets the type of floating-point value held by this effect parameter.
|
|
Sets the fourth floating-point value of the effect parameter.
|
|
Sets the first floating-point value of the effect parameter.
|
|
Sets the second floating-point value of the effect parameter.
|
|
Sets the third floating-point value of the effect parameter.
|
|
[INTERNAL] Writes out the effect parameter to the given COLLADA XML tree node.
Reimplemented from FCDEffectParameter. |