-
Notifications
You must be signed in to change notification settings - Fork 6
Model
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)