vray.ColorList

class vray.ColorList

Bases: vray.TypedList

Efficient implementation of V-Ray ColorList.

Methods

__init__(*args, **kwargs)

append(self, item)

Append Color to the end of the list.

extend(self, other)

Extend list by appending elements from iterable.

append(self, item: Color) → None

Append Color to the end of the list.

extend(self, other: ColorList | Sequence[Color]) → None

Extend list by appending elements from iterable.