Skip to content

UnityRgbaExtensions

Namespace: Shadop.Archmage.Sdk

Extension methods for Rgba.

public static class UnityRgbaExtensions

Inheritance ObjectUnityRgbaExtensions

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)

rgba Rgba

Color