UnityRgbaExtensions
Namespace: Shadop.Archmage.Sdk
Extension methods for Rgba.
public static class UnityRgbaExtensionsInheritance Object → UnityRgbaExtensions
Methods
Section titled “Methods”ToColor(Rgba)
Section titled “ToColor(Rgba)”Converts an Rgba value to a UnityEngine.Color.
Each channel is mapped from [0, 255] to [0, 1].
public static Color ToColor(this Rgba rgba)Parameters
Section titled “Parameters”rgba Rgba