gs.textures.ColorTexture#
gs.textures.ColorTexture 类用于定义颜色纹理,提供了一些用于处理颜色纹理的功能。
- class genesis.options.textures.ColorTexture(*, color: float | List[float] = (1.0, 1.0, 1.0))[source]#
Bases:
TextureA texture that consists of a single color.
- Parameters:
color (list of float) – A list of color values, stored as tuple, supporting any number of channels within the range [0.0, 1.0]. Default is (1.0, 1.0, 1.0).