Tesla Graphics Engine Documentation (January 2012)
Scale Method (value, scale, result)
Tesla
►
Tesla.Math
►
Color
►
Scale(Color
%
, Single, Color
%
)
C#
Scales a color by a scaling factor.
Declaration Syntax
C#
public
static
void
Scale
(
ref
Color
value
,
float
scale
,
out
Color
result
)
Parameters
value
(
Color
%
)
Source color
scale
(
Single
)
Amount to multiply
result
(
Color
%
)
Scaled color
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)