Color32Ext ClassColor32 extensions.
Inheritance Hierarchy
System.Object
UltimateXR.Extensions.Unity.Render.Color32Ext
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class Color32Ext
The Color32Ext type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clamp | Clamps Color32 values component by component. | |
IsSameColor | Compares two colors. | |
Multiply | Multiplies two colors by multiplying each component. | |
Parse | Parses a Color32 from an HTML string (#RRGGBB or #RRGGBBAA). | |
ParseAsync | Parses asynchronously a Color32 from an HTML string (#RRGGBB or #RRGGBBAA). | |
ToColor32 | Transforms an array of bytes to a Color32 component by component. If there are not enough values to read, the remaining values are set to MinValue (0) for RGB and MaxValue (255) for A. | |
ToHtml | Converts the color to a HTML color value (#RRGGBB or #RRGGBBAA). | |
ToInt | Transforms a Color32 value into the int value it encodes the color in. | |
TryParse | Tries to parse a Color32 from an HTML string (#RRGGBB or #RRGGBBAA). |