pyvista.Texture.rotate_cw#

Texture.rotate_cw() Texture[source]#

Rotate this texture 90 degrees clockwise.

Returns:
pyvista.Texture

Rotated texture.

Examples

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