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

Public Member Functions | |
| RmFloatVariable () | |
| Default constructor. | |
| RmFloatVariable (float fValue) | |
| Default constructor. | |
| RmFloatVariable (float fValue, bool bClamp, float fMin=-1.0f, float fMax=1.0f) | |
| Default constructor. | |
| virtual | ~RmFloatVariable () |
| 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. | |
| float | GetValue () |
| GetValue. | |
| void | SetValue (float fValue) |
| Set value. | |
| bool | IsClamped () |
| IsClamped. | |
| void | SetIsClamped (bool bClamp) |
| Set clamp flag. | |
| float | GetMin () |
| Get min. | |
| float | GetMax () |
| Get max. | |
| void | SetMin (float fMin) |
| Set min. | |
| void | SetMax (float fMax) |
| Set max. | |
| void | SetMinMax (float fMin, float fMax) |
| Set min & max. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| 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_fValue |
| The floating point value stored in this node. | |
| float | m_fMin |
| The min for clamping a variable. | |
| float | m_fMax |
| The max for clamping a variable. | |
| bool | m_bClamp |
| A flag denoting whether this variable is clamped to the bounds or not. | |
RmFloat is a single SCALAR FLOAR value
|
|
Default constructor. Default constructor: creates a float = 0.0 that is clamped between -1.0 and 1.0 |
|
|
Default constructor. Default constructor - Creates a float node with a given value that is clamped between -1.0 and 1.0 |
|
||||||||||||||||||||
|
Default constructor. Default constructor - Creates a float node with a given value and sets whether it's clamped and the range for clamping. |
|
|
Destructor. Destructor |
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmVariable. |
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node. Returns the value stored in the node
Reimplemented from RmNode. |
|
|
Get max. Specify the upper bound for clamping
|
|
|
Get min. Specify the lower bound for clamping
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmVariable. |
|
|
GetValue. Retrieve the value of this float node
|
|
|
IsClamped. Retrieve whether the float variable is clamped
|
|
||||||||||||||||
|
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 clamp flag. Set whether this float variable is clamped
|
|
|
Set max. Set the upper bound for clamping
|
|
|
Set min. Set the lower bound for clamping
|
|
||||||||||||
|
Set min & max. Set the clamping bounds
|
|
|
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 value. Set the value for this float node
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6