Color.asVector3f

Returns color transformed to float vector. Also direct assign syntax is allowed:

// Assigns rgba values
Vector!(float, 4) v4 = Color(0.4, 1.0);
// Only rgb values
Vector!(float, 3) v3 = Color(0.7);
struct Color
asVector3f
()

Meta