Cube.render() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
location?
Yes
scale?
Yes
angle?
Yes
sprite?
Yes
color?
{int:color|int:color[]}
Yes
alpha?
Yes
excludedSide?
{int|int[]}
Yes

Returns

Not applicable.

Description

Execute the draw, using data of this constructor or its specified temporarily replaced parts. Each side can be excluded from this draw by specifying its number, starting from 1 in following order: Top, Bottom, Left, Front, Right, Back.

⚠️ **GitHub.com Fallback** ⚠️