Skip to content

GodotRgbaExtensions

Namespace: Shadop.Archmage.Sdk

public static class GodotRgbaExtensions

Inheritance Object → GodotRgbaExtensions

Converts an Rgba value to a Godot.Color. Each channel is mapped from [0, 255] to [0, 1].

public static Color ToColor(Rgba rgba)

rgba Rgba

Color