 |
MathUtilsIsSame(Color3, Color3, Single) Method |
Returns true if color the difference between each color component is smaller than the specified tolerance.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic static bool IsSame(
in Color3 color1,
in Color3 color2,
float tolerance
)
Parameters
- color1 Color3
- first Color3
- color2 Color3
- second Color3
- tolerance Single
- float value that specifies how big the difference between values can be so that the values are considered the same
Return Value
Booleantrue if color1 is similar to color2 taking the tolerance into account
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MathUtils.IsSame(Ab4d.SharpEngine.Common.Color3@,Ab4d.SharpEngine.Common.Color3@,System.Single)"]
See Also