pyvista.DataSetMapper.as_rgba#

DataSetMapper.as_rgba()[source]#

Convert the active scalars to RGBA.

This method is used to convert the active scalars to a fixed RGBA array and is used for certain mappers that do not support the “map” color mode.