Skip to content
tjakka5 edited this page Nov 30, 2016 · 2 revisions

Models can be generated with ModelData, after which they can be rendered to the screen.


Creates and returns a new Model.

Model.new(ModelData)


Shortcut for Model.new().

Model(ModelData)


Puts the model into the z-buffer of the camera. It gets drawn when Camera:render() is called.

Model:draw(x, y, z, rotation, xscale, yscale)

Clone this wiki locally