Table of Contents

Struct Colour

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents a colour.

public readonly struct Colour
Inherited Members

Constructors

Colour(byte, byte, byte, byte)

Represents a colour.

public Colour(byte r, byte g, byte b, byte a)

Parameters

r byte

The red component of the colour.

g byte

The green component of the colour.

b byte

The blue component of the colour.

a byte

The alpha component of the colour.

Fields

A

The alpha component of the colour.

public readonly byte A

Field Value

byte

B

The blue component of the colour.

public readonly byte B

Field Value

byte

G

The green component of the colour.

public readonly byte G

Field Value

byte

R

The red component of the colour.

public readonly byte R

Field Value

byte