Tesla Graphics Engine Documentation (January 2012)
UnaryNegation Operator
Tesla
►
Tesla.Math
►
Color
►
UnaryNegation(Color)
C#
Negates the color (subtracts index from 1.0f) of each color component.
Declaration Syntax
C#
public
static
Color
operator
-
(
Color
value
)
Parameters
value
(
Color
)
Source color
Return Value
Negated color
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)