Table of Contents

Struct VSColor

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll
public struct VSColor
Inherited Members
Extension Methods

Constructors

VSColor(byte, byte, byte, byte)

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

Parameters

r byte
g byte
b byte
a byte

VSColor(int)

public VSColor(int color)

Parameters

color int

Fields

A

public byte A

Field Value

byte

AsInt

public int AsInt

Field Value

int

B

public byte B

Field Value

byte

G

public byte G

Field Value

byte

R

public byte R

Field Value

byte

Properties

An

public float An { get; set; }

Property Value

float

Bn

public float Bn { get; set; }

Property Value

float

Gn

public float Gn { get; set; }

Property Value

float

Rn

public float Rn { get; set; }

Property Value

float