![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IScale graph node interface.
This interface represents a node implementing the Graph::IScalable interface, for the purpose to add an explicit scaling factor to a transform hierarchy made up from e.g. Graph::ITransform nodes.
Although scaling is a basic operation on a transformation matrix, this should not be done directly through the Graph::ITransformable interface. Instead, individual IScale nodes should be used, which (in addition to the regular scaling operation) explicitly calculate a global scale factor from the transform hierarchy to quickly determine e.g. the radius of a bounding sphere.
Get the constant Graph::INode interface. This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
Murl.Graph.INode GetNodeInterface()