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

Public Member Functions | |
| RmVariable () | |
| Default constructor. | |
| virtual | ~RmVariable () |
| Destructor. | |
| virtual bool | IsArtistEditable () |
| Returns whether this variable is artist editable or not. | |
| void | SetIsArtistEditable (bool bValue) |
| Set whether this variable is artist-editable or not. | |
| 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 const RM_TCHAR * | GetVariableSemantic () |
| Get variable semantic attribute. | |
| virtual void | SetVariableSemantic (const RM_TCHAR *pStrVariableSemantic) |
| Set variable semantic. | |
| virtual bool | IsPredefinedVariable () |
| Retrieve whether this variable is a RenderMonkey predefined variable. | |
| virtual bool | IsPrelinkedVariable () |
| Retrieve whether this variable is a RenderMonkey prelinked variable. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Copy node data. | |
| virtual void | SetType (const RM_TCHAR *strNewType) |
| Set node type. | |
| virtual RmNodeTypeChildRuleList * | GetNodeTypeChildRuleList () |
| Get node child rule. | |
| virtual void | SetNodeTypeChildRuleList (RmNodeTypeChildRuleList *pRmNodeChildRuleList) |
| Sets the node child rule list for the given node. | |
Protected Attributes | |
| bool | m_bArtistVar |
| A flag denoting whether a variable is artist-editable or not. | |
| RmStringT | m_strVariableSemantic |
A generic variable class. Stores whether a given variable is artist-editable or not
|
|
Default constructor. Default constructor |
|
|
Destructor. Destructor |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmNode. Reimplemented in RmDynamicVariable, RmLightVariable, RmMaterialVariable, RmVectorVariable, RmMatrixVariable, RmFloatVariable, RmIntegerVariable, RmStringVariable, RmBooleanVariable, RmTextureVariable, RmColorVariable, and RmRenderableTexture. |
|
|
Get node child rule. Parent / Child rule list function
Reimplemented from RmNode. Reimplemented in RmDynamicVariable, RmLightVariable, RmMaterialVariable, RmVectorVariable, RmMatrixVariable, RmFloatVariable, RmIntegerVariable, RmStringVariable, RmBooleanVariable, RmTextureVariable, RmColorVariable, and RmRenderableTexture. |
|
|
Get variable semantic attribute. Get variable semantic attribute
|
|
|
Returns whether this variable is artist editable or not. Returns whether this variable is artist editable or not
Reimplemented from RmNode. |
|
|
Retrieve whether this variable is a RenderMonkey predefined variable. Retrieve whether this variable is a RenderMonkey predefined variable (See RenderMonkey documentation for more details about predefined variables)
|
|
|
Retrieve whether this variable is a RenderMonkey prelinked variable. Retrieve whether this variable is a RenderMonkey prelinked variable (See RenderMonkey documentation for more details about prelinked variables)
|
|
||||||||||||||||
|
Load node data from XML. Loading versioned XML node data.
Reimplemented from RmNode. Reimplemented in RmDynamicVariable, RmLightVariable, RmMaterialVariable, RmVectorVariable, RmMatrixVariable, RmFloatVariable, RmIntegerVariable, RmStringVariable, RmBooleanVariable, RmTextureVariable, RmColorVariable, and RmRenderableTexture. |
|
||||||||||||
|
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. Reimplemented in RmDynamicVariable, RmLightVariable, RmMaterialVariable, RmVectorVariable, RmMatrixVariable, RmFloatVariable, RmIntegerVariable, RmStringVariable, RmBooleanVariable, RmTextureVariable, RmColorVariable, and RmRenderableTexture. |
|
|
Set whether this variable is artist-editable or not. Set whether this variable is artist-editable or not
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. Reimplemented in RmDynamicVariable, RmLightVariable, RmMaterialVariable, RmVectorVariable, RmMatrixVariable, RmFloatVariable, RmIntegerVariable, RmStringVariable, RmBooleanVariable, RmTextureVariable, RmColorVariable, and RmRenderableTexture. |
|
|
Set node type. Compose the type string chain
Reimplemented from RmNode. Reimplemented in RmTextureVariable, and Rm2DTextureVariable. |
|
|
Set variable semantic. Set variable semantic attribute
|
|
|
Indicates the semantic of the variable. |
1.3.6