Struct RenderColor
- Namespace
- Valheim.Testing
- Assembly
- Valheim.Testing.dll
An opaque 8-bit sRGB colour.
public readonly struct RenderColor
Constructors
RenderColor(byte, byte, byte)
public RenderColor(byte r, byte g, byte b)
Parameters
rbytegbytebbyte
Properties
B
public byte B { get; }
Property Value
- byte
G
public byte G { get; }
Property Value
- byte
R
public byte R { get; }
Property Value
- byte
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
- bool
Equals(RenderColor)
public bool Equals(RenderColor other)
Parameters
otherRenderColor
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string