Mesh

Reference

class Mesh
module:
fromObject(obj)

Create a mesh from an object

Parameters:

obj (Object) – The object to cast

Return type:

Mesh

fromHandle(handle)

create a mesh object from a handle. Used internally.

Parameters:

handle (number)

create(attributes)

Create a new mesh

Parameters:

attributes (table) – list of attributes. without, the mesh will be created with default values

Returns:

the created mesh

Return type:

Mesh

Examples