Synced
Color.Constructor
Section titled “Color.Constructor”
- Creates a color by clamping each supplied channel to [0, 1].
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Mathematics.Color.Color(float r, float g, float b, float a = 1)Parameters
Section titled “Parameters”Parameter r: The red channel.
Parameter g: The green channel.
Parameter b: The blue channel.
Parameter a: The alpha channel; one is opaque.