DarkBASIC Professional Help File

DX11 GET LIMB MESH

Retrieves the n:th mesh of the specified limb.
If the specified limb is an instance, the base mesh will be returned - modifying this will thus alter the mesh used by all other instances.
Also note that this will give you a reference to the mesh - you should call DX11 DELETE MESH on it when you're done with it. Take note that
this will not delete the mesh from a limb if you've added it there; not deleting your reference but deleting the limb will cause the mesh
to remain in memory until you explicitly delete it though.

Syntax

    Return Dword = DX11 GET LIMB MESH(limb, n)

Parameters

    limb

> Dword
> The limb for which to retrieve the mesh.

    n

> Dword
> The index of the mesh to retrieve; the valid range is [0..DX11 GET LIMB MESH COUNT(limb) - 1].

Returns

The n:th mesh belonging to the specified parent limb, or 0 if there is no such mesh.

See also

LIMB Functions Menu
DX11 Function Categories