Click or drag to resize
Ab4d.SharpEngine logo

MathUtilsIsSame(Color4, Color4) Method

Returns true if byte values (each color is in range from 0 to 255) of this color are the same as byte values of the other colors.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public static bool IsSame(
	 in Color4 color1,
	 in Color4 color2
)

Parameters

color1  Color4
first Color4
color2  Color4
second Color4

Return Value

Boolean
true if color1 is same as color2
See Also