pyunity.values.texture module¶
-
class
pyunity.values.texture.Material(color, texture=None)[source]¶ Bases:
objectClass to hold data on a material.
-
class
pyunity.values.texture.RGB(r, g, b)[source]¶ Bases:
pyunity.values.texture.ColorA class to represent an RGB color.
Parameters: - r (int) – Red value (0-255)
- g (int) – Green value (0-255)
- b (int) – Blue value (0-255)