Layer.BackgroundElement - Mtax-Development/GML-OOP GitHub Wiki
Constructs a Background Element used to draw a Background onto a Layer.
Destruction |
Elements |
None |
Name |
Type |
Default |
Modifiable |
parent |
{Layer} |
other |
No |
ID |
{int:backgroundElement} |
None |
No |
sprite |
undefined |
No |
|
visible |
{bool} |
true |
No |
stretch |
{bool} |
false |
No |
tiled_x |
{bool} |
false |
No |
tiled_y |
{bool} |
false |
No |
scale |
{Scale} |
Scale(1, 1) |
No |
color |
{int:color} |
c_white |
No |
alpha |
{real} |
1 |
No |
frame |
{int} |
0 |
No |
speed |
{real} |
0 |
No |
Name |
Arguments |
New element |
sprite {Sprite} |
Wrapper |
backgroundElement {int:backgroundElement} |
Empty |
|
Constructor copy |
other {Layer.BackgroundElement} |