cortex.dataset.VertexRGB.uniques

VertexRGB.uniques(collapse=False)

Yield the underlying Dataview channels that make up this RGB view.

Parameters:
collapsebool, optional

If True, yield this RGB view itself as a single unit instead of its individual channels. Default False.

Returns:
generator

Yields self if collapse, otherwise self.red, self.green, self.blue, and self.alpha (if set).