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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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