Tesla Graphics Engine Documentation (January 2012)
Negate Method (value, result)
Tesla
►
Tesla.Math
►
Color
►
Negate(Color
%
, Color
%
)
C#
Negates the specified color by subtracting each of its components from 1.0f.
Declaration Syntax
C#
public
static
void
Negate
(
ref
Color
value
,
out
Color
result
)
Parameters
value
(
Color
%
)
Source color
result
(
Color
%
)
Existing color to hold result
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)