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

The IResourceMeshTouchArea graph node interface.

This interface represents an input object in world space, which takes its surface geometry from a given mesh resource.


Table members

Inherited


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

GetTouchAreaInterface()

Get the constant Graph::ITouchArea interface. This method returns a constant pointer to the node's Graph::ITouchArea interface, to be able to access the node's base touch area functionality.

Murl.Graph.ITouchArea GetTouchAreaInterface()

Returns
Murl.Graph.ITouchArea The constant Graph::ITouchArea 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

SetMaxNumberOfBonesPerVertex(maxNumBones)

Set the maximum number of bones per vertex for vertex skinning.

Boolean SetMaxNumberOfBonesPerVertex(Integer maxNumBones)

Parameters
maxNumBonesThe maximum number of bones.
Returns
Boolean true if successful.

GetMaxNumberOfBonesPerVertex()

Get the maximum number of bones per vertex for vertex skinning.

Integer GetMaxNumberOfBonesPerVertex()

Returns
Integer The maximum number of bones.