S&box Wiki

Color32

Color32

A 32bit color, commonly used by things like vertex buffers.

The functionality on this is purposely left minimal so we're encouraged to use the regular Color struct.

Fields

Properties

byte A { get; set; }
byte B { get; set; }
byte G { get; set; }
string Hex { get; }
double Item { get; }
byte R { get; set; }
uint RGBA { get; }

Methods

static Color32 Max( Color32 a, Color32 b )
static Color32 Min( Color32 a, Color32 b )
Color32 Read( System.IO.BinaryReader reader )
void Write( System.IO.BinaryWriter writer )

Special Pages


Wikis

?

Render Time: 51ms

DB GetPage 42
Generate Html 0
SaveChanges (1) 7
Render Body 0
Render Sidebar 0