Color3 - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a container for three colors.

Specification

Destruction
Elements
Garbage Collection
None

Properties

Name
Type
Default
Modifiable
color1
{int:color}
c_white
Yes
color2
{int:color}
c_white
Yes
color3
{int:color}
c_white
Yes

Construction types

Name
Arguments
Argument note
New constructor
color1? {int:color}
color2? {int:color}
color3? {int:color}
Default for all values
The color values will be set to white.
One color for all values
color {int:color}
Color2 + color
other {Color2}
color {int:color}
In any order, it will be reflected in the values of this constructor.
Constructor copy
other {Color3}
⚠️ **GitHub.com Fallback** ⚠️