pyvista.Texture.flip_x

Contents

pyvista.Texture.flip_x#

Texture.flip_x() Texture[source]#

Flip the texture in the x direction.

Returns:
pyvista.Texture

Flipped texture.

Examples

>>> from pyvista import examples
>>> texture = examples.download_puppy_texture()
>>> flipped = texture.flip_x()
>>> flipped.plot()
../../../_images/pyvista-Texture-flip_x-1_00_00.png