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

NameDescription
Public methodStatic memberClamp Clamps Color32 values component by component.
Public methodStatic memberIsSameColor Compares two colors.
Public methodStatic memberMultiply Multiplies two colors by multiplying each component.
Public methodStatic memberParse Parses a Color32 from an HTML string (#RRGGBB or #RRGGBBAA).
Public methodStatic memberParseAsync Parses asynchronously a Color32 from an HTML string (#RRGGBB or #RRGGBBAA).
Public methodStatic memberToColor32 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.
Public methodStatic memberToHtml Converts the color to a HTML color value (#RRGGBB or #RRGGBBAA).
Public methodStatic memberToInt Transforms a Color32 value into the int value it encodes the color in.
Public methodStatic memberTryParse Tries to parse a Color32 from an HTML string (#RRGGBB or #RRGGBBAA).

See Also

Reference

UltimateXR.Extensions.Unity.Render Namespace