pyunity.values.texture module¶
-
class
pyunity.values.texture.
Material
(color, texture=None)[source]¶ Bases:
object
Class to hold data on a material.
-
class
pyunity.values.texture.
RGB
(r, g, b)[source]¶ Bases:
pyunity.values.texture.Color
A 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)