Struct · Ara
Color
A linear RGBA color (the schema's color type). Defaults to opaque white in the schema.
public struct Color : IEquatable<Color>Constructors
Color
public Color(float r, float g, float b, float a = 1f);Creates a color from linear components.
Properties
White
public static Color White { get; }Opaque white.
Fields
R
public float R;Red, linear.
G
public float G;Green, linear.
B
public float B;Blue, linear.
A
public float A;Alpha (1 is opaque).
Methods
Equals
public bool Equals(Color other);No description yet.
public override bool Equals(object obj);No description yet.
GetHashCode
public override int GetHashCode();No description yet.