Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates a color by clamping each supplied channel to [0, 1].

API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime

public InnoEngine.Mathematics.Color.Color(float r, float g, float b, float a = 1)

Parameter r: The red channel.

Parameter g: The green channel.

Parameter b: The blue channel.

Parameter a: The alpha channel; one is opaque.