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

Public Member Functions | |
| RmMaterialObject () | |
| Public member functions Default Constructor. | |
| RmMaterialObject (int nStageIndex, const RM_TCHAR *pStrAPI) | |
| Constructor. | |
| virtual | ~RmMaterialObject () |
| Destructor. | |
| void | Initialize () |
| Initialize. | |
| 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 bool | IsNodeValid () |
| Is node valid. | |
| bool | AddMaterialReference (RmMaterialReference *pMaterialReference) |
| Add material reference. | |
| void | DeleteMaterialReference () |
| Delete material reference. | |
| RmMaterialReference * | MaterialReference () |
| Get material reference. | |
| int | GetIndex () |
| Get index. | |
| void | SetIndex (int nIndex) |
| Set index. | |
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 | |
| int | m_nIndex |
| Material nIndex for this light object. | |
| RmMaterialReference * | m_pMaterialReference |
| Material reference attached to this light object. | |
RmMaterialObject contains an nIndex and a RmMaterialReference child ..........///
|
|
Public member functions Default Constructor. Default constructor |
|
||||||||||||
|
Constructor. Create new light object for given light nIndex
|
|
|
Destructor. Destructor |
|
|
Add material reference. Adds a light reference node to this light object. Material reference actually links this light object to a specific light variable.
|
|
|
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 RmNode. |
|
|
Delete material reference. Deletes current light reference from this light object. Note that this call will actually delete the light node itself.
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. |
|
|
Get index. Retrieve texture stage nIndex for this texture object
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmNode. |
|
|
Initialize. Initializes texture object
|
|
|
Is node valid. Node valid property
Reimplemented from RmNode. |
|
||||||||||||||||
|
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 RmNode. |
|
|
Get material reference. Retrieve texture reference node from this texture object
|
|
||||||||||||
|
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 RmNode. |
|
|
Set index. Set texture stage nIndex for this texture object
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6