Click or drag to resize
Ab4d.SharpEngine logo

Color3 Operators and Type Conversions

The Color3 type exposes the following members.

Operators
 NameDescription
Public operatorStatic memberAddition(Color3, Color3) Adds two colors.
Public operatorStatic memberEquality(Color3, Color3) Tests for equality between two objects.
Public operatorStatic member(Color3 to Color4) Performs an explicit conversion from Color3 to Color4.
Public operatorStatic member(Int32 to Color3) Performs an explicit conversion from Int32 to Color3.
Public operatorStatic member(Color3 to Vector3) Performs an implicit conversion from Color3 to Vector3.
Public operatorStatic member(Vector3 to Color3) Performs an implicit conversion from Vector3 to Color3.
Public operatorStatic memberInequality(Color3, Color3) Tests for inequality between two objects.
Public operatorStatic memberMultiply(Color3, Color3) Modulates two colors.
Public operatorStatic memberMultiply(Color3, Single) Scales a color.
Public operatorStatic memberMultiply(Single, Color3) Scales a color.
Public operatorStatic memberSubtraction(Color3, Color3) Subtracts two colors.
Public operatorStatic memberUnaryNegation(Color3) Negates a color.
Public operatorStatic memberUnaryPlus(Color3) Assert a color (return it unchanged).
Top
See Also