Tesla Graphics Engine Documentation (January 2012)
Color Constructor
TeslaTesla.MathColorColor()()()()
Members
Icon Member Description
Color(UInt32)
Creates a new instance of Color from a packed int containing all four components.

Color(Int32, Int32, Int32)
Creates a new instance of Color from RGBA byte values with range 0-255. If the component values are greater than 255 or less than 0, they will be clamped to the range 0-255.

Color(Int32, Int32, Int32, Int32)
Creates a new instance of Color from RGBA byte values with range 0-255. If the component values are greater than 255 or less than 0, they will be clamped to the range 0-255.

Color(Single, Single, Single)
Creates a new instance of Color. Alpha is set to 1.0f.

Color(Single, Single, Single, Single)
Creates a new instance of Color.

Color(Vector3)
Creates a new instance of Color. Alpha is set to 1.0f.

Color(Vector3, Single)
Creates a new instance of Color.

Color(Vector4)
Creates a new instance of Color.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)