unlogic
Loading...
Searching...
No Matches
unlogic::Color Struct Reference

#include <Color.h>

Public Attributes

float r = 0.0
 
float g = 0.0
 
float b = 0.0
 
float a = 1.0
 

Static Public Attributes

static Color White = {1.0, 1.0, 1.0}
 
static Color Black = {0.0, 0.0, 0.0}
 
static Color Red = {1.0, 0.0, 0.0}
 
static Color Orange = {1.0, 0.5, 0.0}
 
static Color Yellow = {1.0, 1.0, 0.0}
 
static Color Green = {0.0, 1.0, 0.0}
 
static Color Blue = {0.0, 0.0, 1.0}
 
static Color Cyan = {0.0, 1.0, 1.0}
 
static Color Purple = {0.5, 0.0, 1.0}
 
static Color Pink = {1.0, 0.0, 0.5}
 

Detailed Description

Definition at line 6 of file Color.h.

Member Data Documentation

◆ a

float unlogic::Color::a = 1.0

Definition at line 11 of file Color.h.

◆ b

float unlogic::Color::b = 0.0

Definition at line 10 of file Color.h.

◆ Black

Color Color::Black = {0.0, 0.0, 0.0}
static

Definition at line 14 of file Color.h.

◆ Blue

Color Color::Blue = {0.0, 0.0, 1.0}
static

Definition at line 19 of file Color.h.

◆ Cyan

Color Color::Cyan = {0.0, 1.0, 1.0}
static

Definition at line 20 of file Color.h.

◆ g

float unlogic::Color::g = 0.0

Definition at line 9 of file Color.h.

◆ Green

Color Color::Green = {0.0, 1.0, 0.0}
static

Definition at line 18 of file Color.h.

◆ Orange

Color Color::Orange = {1.0, 0.5, 0.0}
static

Definition at line 16 of file Color.h.

◆ Pink

Color Color::Pink = {1.0, 0.0, 0.5}
static

Definition at line 22 of file Color.h.

◆ Purple

Color Color::Purple = {0.5, 0.0, 1.0}
static

Definition at line 21 of file Color.h.

◆ r

float unlogic::Color::r = 0.0

Definition at line 8 of file Color.h.

◆ Red

Color Color::Red = {1.0, 0.0, 0.0}
static

Definition at line 15 of file Color.h.

◆ White

Color Color::White = {1.0, 1.0, 1.0}
static

Definition at line 13 of file Color.h.

◆ Yellow

Color Color::Yellow = {1.0, 1.0, 0.0}
static

Definition at line 17 of file Color.h.


The documentation for this struct was generated from the following files: