gs.textures.ColorTexture#

class genesis.options.textures.ColorTexture(*, color: tuple[typing.Annotated[float, FieldInfo(annotation=NoneType, required=True, metadata=[Strict(strict=False), _PydanticGeneralMetadata(allow_inf_nan=False)])], ...] = (1.0, 1.0, 1.0))[source]#

Bases: Texture

A 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).