![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The INinePatchPlaneSequenceGeometry graph node interface.
This interface represents a plane sequence geometry node sourcing its texture coordinates from a given Resource::IAtlas, additionally implementing the Graph::INinePatch property interface for dividing the resulting plane into 9 segments.
See the Graph::IPlaneSequenceGeometry interface for common plane properties. See the Graph::INinePatch interface for details on nine patch objects.
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()
Get the constant Graph::ITransform interface. This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.
Murl.Graph.ITransform GetTransformInterface()
Get the constant Graph::IPlaneSequenceGeometry interface. This method returns a constant pointer to the node's Graph::IPlaneSequenceGeometry interface, to be able to query the node's basic plane properties.
Murl.Graph.IPlaneSequenceGeometry GetPlaneSequenceGeometryInterface()
Set the size of the display rectangle.
Boolean SetFrameSize(Number sizeX, Number sizeY)
sizeX | The rectangle width. |
sizeY | The rectangle height. |
Set the width of the display rectangle.
Boolean SetFrameSizeX(Number sizeX)
sizeX | The rectangle width. |
Set the height of the display rectangle.
Boolean SetFrameSizeY(Number sizeY)
sizeY | The rectangle height. |