![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The ISubject graph node interface.
Graph::ISubject nodes represent a generic way to define properties like view matrix, projection matrix, view frustum etc. that are common to e.g. cameras and listeners.
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()
Set the subject's world transform matrix.
Boolean SetWorldTransform(Murl.Math.Matrix worldTransform)
worldTransform | The world transform. |
Get the subject's world transform matrix.
Murl.Math.Matrix GetWorldTransform()
Get the subject's view matrix. The view matrix is actually the inverse of the subject's world transform matrix; it is used to transform geometry from world space to view space.
Murl.Math.Matrix GetViewMatrix()
Get the subject's projection matrix.
Murl.Math.Matrix GetProjectionMatrix()