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()
https://d33wubrfki0l68.cloudfront.net/b7c203ce27cee238bcac66dfc9b576cf1e2dfc96/29901/_images/pyvista-texture-rotate_cw-1_00_00.png