Tesla Graphics Engine Documentation (January 2012)
Color Constructor (rgb, alpha)
Tesla
►
Tesla.Math
►
Color
►
Color(Vector3, Single)
C#
Creates a new instance of Color.
Declaration Syntax
C#
public
Color
(
Vector3
rgb
,
float
alpha
)
Parameters
rgb
(
Vector3
)
Vector3 containing RGB components as XYZ
alpha
(
Single
)
Alpha component
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)