#include <RmEffect.h>
Inheritance diagram for RmMaterialVariable:

Public Member Functions | |
| RmMaterialVariable () | |
| Public Member Functions Constructor. | |
| virtual | ~RmMaterialVariable () |
| Destructor. | |
| virtual void | Update (RmNodeUpdateType nodeUpdateType, RmNode *pRmUpdateRootNode) |
| Update. | |
| virtual bool | LoadXMLData (int hDoc, const RM_TCHAR *strXPath, const RM_TCHAR *strRmXMLVersion) |
| Load node data from XML. | |
| virtual bool | SaveXMLData (int hDoc, const RM_TCHAR *strXPath) |
| Save node data to XML. | |
| virtual RmNode * | Clone (bool bIncludeLoadedData) |
| Clone this node. | |
| virtual const RM_TCHAR * | GetDescription () |
| virtual void | SetName (const RM_TCHAR *strNewName) |
| Set Name. | |
| const float * | GetAmbientColor () |
| Get ambient color. | |
| const float * | GetDiffuseColor () |
| Get diffuse color. | |
| const float * | GetSpecularColor () |
| Get specular color. | |
| const float * | GetEmissiveColor () |
| Get emissive color. | |
| float | GetSpecularPower () |
| Get specular power. | |
| void | SetAmbientColor (float *pfColorArray) |
| Set ambient color. | |
| void | SetDiffuseColor (float *pfColorArray) |
| Set diffuse color. | |
| void | SetSpecularColor (float *pfColorArray) |
| Set specular color. | |
| void | SetEmissiveColor (float *pfColorArray) |
| Set emissive color. | |
| void | SetSpecularPower (float fSpecularPower) |
| Set specular power. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Protected Member Functions Copy node data. | |
| virtual RmNodeTypeChildRuleList * | GetNodeTypeChildRuleList () |
| Parent / Child rule list function. | |
| virtual void | SetNodeTypeChildRuleList (RmNodeTypeChildRuleList *pRmNodeChildRuleList) |
| Sets the node child rule list for the given node. | |
Protected Attributes | |
| float | m_fAmbientColorArray [4] |
| Ambient color. | |
| float | m_fDiffuseColorArray [4] |
| Diffuse color. | |
| float | m_fSpecularColorArray [4] |
| Specular color. | |
| float | m_fEmissiveColorArray [4] |
| Emissive color. | |
| float | m_fSpecularPower |
| Specular power. | |
RmMaterialVariable is a class for general material properties
|
|
Public Member Functions Constructor. Constructor |
|
|
Destructor. Destructor |
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. |
|
||||||||||||
|
Protected Member Functions Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmVariable. |
|
|
Get ambient color. Get ambient color
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node
Reimplemented from RmNode. |
|
|
Get diffuse color. Get diffuse color
|
|
|
Get emissive color. Get emissive color
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmVariable. |
|
|
Get specular color. Get specular color
|
|
|
Get specular power. Get specular power
|
|
||||||||||||||||
|
Load node data from XML. Loads versioned XML node data. Note that this method will only load the contents of each node, not the data for all of the children nodes. Each child will have its own XML loading function called by the API.
Reimplemented from RmVariable. |
|
||||||||||||
|
Save node data to XML. Saves node's contents to XML. Note that this method will only save the contents of each node, not the data for all of the children nodes. Each child will have its own XML saving function called by the API.
Reimplemented from RmVariable. |
|
|
Set ambient color. Set ambient color
|
|
|
Set diffuse color. Set diffuse color
|
|
|
Set emissive color. Set emissive color
|
|
|
Set Name. Set the name of the node to the specified value
Reimplemented from RmNode. |
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmVariable. |
|
|
Set specular color. Set specular color
|
|
|
Set specular power. Set specular color
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6