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

The IResourceMeshCollider graph node interface.

This interface represents a Graph::ICollider with an arbitrary collision shape, which is obtained from a given Resource::IMesh object.

Initialization will fail if the referenced Resource::IMesh object does not contain appropriate collision information; it is necessary to include such information already at the time of converting the mesh object. Similar to the Graph::IResourceMeshCuller interface, this interface does not explicitly require a specific type of structural information to be present in the mesh; a specialized Graph::ResourceMeshCollider on the other hand demands the presence of a bounding volume tree.

See also Graph::IResourceMeshCuller.


Table members

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

GetColliderInterface()

Get the constant Graph::ICollider interface. This method returns a constant pointer to the node's Graph::ICollider interface, to be able to query common collider-related properties.

Murl.Graph.ICollider GetColliderInterface()

Returns
Murl.Graph.ICollider The constant Graph::ICollider interface

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