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

Public Member Functions | |
| RmLightObject () | |
| Public member functions Default Constructor. | |
| RmLightObject (int nStageIndex, const RM_TCHAR *pStrAPI) | |
| Constructor. | |
| virtual | ~RmLightObject () |
| Destructor. | |
| void | Initialize () |
| Initialization. | |
| 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 | AddLightReference (RmLightReference *pLightReference) |
| Add light. | |
| void | DeleteLightReference () |
| Delete light reference. | |
| RmLightReference * | LightReference () |
| Get light 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 |
| Light nIndex for this light object. | |
| RmLightReference * | m_pLightReference |
| Light reference attached to this light object. | |
RmLightObject contains an nIndex and a RmLightReference child
|
|
Public member functions Default Constructor. Default constructor |
|
||||||||||||
|
Constructor. Create new light object for given light nIndex
|
|
|
Destructor. Destructor |
|
|
Add light. Adds a light reference node to this light object. Light 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 light 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. |
|
|
Initialization. Initializes texture object
|
|
|
Is node valid. Node valid property
Reimplemented from RmNode. |
|
|
Get light reference. Retrieve texture reference node from this texture object
|
|
||||||||||||||||
|
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. |
|
||||||||||||
|
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