Table of Contents

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

r byte
g byte
b byte

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

obj object

Returns

bool

Equals(RenderColor)

public bool Equals(RenderColor other)

Parameters

other RenderColor

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string