Layer - Mtax-Development/GML-OOP GitHub Wiki
Constructs a Layer resource, used to group graphical elements and sort their rendering depth.
Destruction |
Elements |
Layer.destroy() |
None |
Name |
Type |
Default |
Modifiable |
ID |
{int:layer} |
None |
No |
name |
{string} |
None |
No |
depth |
{int} |
None |
No |
location |
{Vector2} |
Vector2(0, 0) |
No |
speed |
{Vector2} |
Vector2(0, 0) |
No |
visible |
{bool} |
true |
No |
instancesPaused |
{Shader} |
false |
No |
shader |
{Shader} |
undefined |
No |
function_drawBegin |
{function} |
undefined |
No |
function_drawEnd |
{function} |
undefined |
No |
instanceList |
{List} |
List() |
No |
spriteList |
{List} |
List() |
No |
backgroundList |
{List} |
List() |
No |
tilemapList |
{List} |
List() |
No |
particleSystemList |
{List} |
List() |
No |
Name |
Arguments |
Argument note |
New constructor |
||
Wrapper |
name {string} |
|
Empty |
||
Constructor copy |
Information about object instances will not be copied. |