Mesh

Inherits from

Usage

To use this class, add the following require at the top of your script:

local Mesh = require 'engine/items/mesh'

Reference

class Mesh
module:
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