Texture.to_image

Contents

Texture.to_image#

Texture.to_image() → ImageData | None[source]#

Return the texture as an image.

Returns:
pyvista.ImageData | None

Texture represented as a uniform grid, or None if the texture has no image data.