pyvista.Texture.color_mode#
- property Texture.color_mode: Literal['map', 'direct'][source]#
Return or set the color mode.
Either
'direct'
, or'map'
.'direct'
- All integer types are treated as colors with values in the range 0-255 and floating types are treated as colors with values in the range 0.0-1.0'map'
- All scalar data will be mapped through the lookup table.
Added in version 0.47.