Common types

class ColorRgb(r, g, b)

RGB color (from 0.0 to 1.0). This is equivalent to (r, g, b) tuple.

b

The blue value.

Type

float

g

The green value.

Type

float

r

The red value.

Type

float

class Vector3(x, y, z)

3D vector float. This is equivalent to (x, y, z) tuple.

x

The X axis value.

Type

float

y

The Y axis value.

Type

float

z

The Z axis value.

Type

float