Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.INinePatchPlaneSequenceGeometry

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.


Table members

Inherited


Murl.Graph.INinePatch

Methods


GetNodeInterface()

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()

Returns
Murl.Graph.INode The constant Graph::INode interface, or null if not available

GetTransformInterface()

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()

Returns
Murl.Graph.ITransform The constant Graph::ITransform interface, or null if not available

GetPlaneSequenceGeometryInterface()

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()

Returns
Murl.Graph.IPlaneSequenceGeometry The constant Graph::IPlaneSequenceGeometry interface, or null if not available

SetFrameSize(sizeX, sizeY)

Set the size of the display rectangle.

Boolean SetFrameSize(Number sizeX, Number sizeY)

Parameters
sizeXThe rectangle width.
sizeYThe rectangle height.
Returns
Boolean true if successful.

SetFrameSizeX(sizeX)

Set the width of the display rectangle.

Boolean SetFrameSizeX(Number sizeX)

Parameters
sizeXThe rectangle width.
Returns
Boolean true if successful.

SetFrameSizeY(sizeY)

Set the height of the display rectangle.

Boolean SetFrameSizeY(Number sizeY)

Parameters
sizeYThe rectangle height.
Returns
Boolean true if successful.