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()
https://d33wubrfki0l68.cloudfront.net/6957d5e5a9271416013573ace2d16b349b21bd34/fae7c/_images/pyvista-texture-flip_x-1_00_00.png