Click or drag to resize

ColorExtensions Class

Extension methods for Unity's UnityEngine.Color and UnityEngine.Color32
Inheritance Hierarchy
SystemObject
  ImmerseSDK.ExtensionsColorExtensions

Namespace:  ImmerseSDK.Extensions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static class ColorExtensions

The ColorExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberNormalize
Used to normalize a color to prevent blowout or strangeness when r/g/b values are greater than 100%
Public methodStatic memberToColor
Convert a hex color to a UnityEngine.Color
Public methodStatic memberToHex
Converts a UnityEngine.Color32 to a hex color
Top
See Also