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

The IResourceMeshGeometry graph node interface.

This interface represents a renderable object that references a given read-only Resource::IMesh object containing vertex and index data for one or more individual sub-meshes.


Table members

Inherited


Murl.Graph.IDrawable
Murl.Graph.IBlendable
Murl.Graph.IDeformable

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

GetMeshResourceTarget()

Get a constant Graph::IMeshResourceTarget container. This method returns a constant pointer to a Graph::IMeshResourceTarget container, which allows to query the mesh resources referenced by a node implementing this interface.

Murl.Graph.IGenericResourceTarget.ResourceIMesh GetMeshResourceTarget()

Returns
Murl.Graph.IGenericResourceTarget.ResourceIMesh The constant Graph::IMeshResourceTarget container, or null if not available