Property.anisotropy_rotation

Property.anisotropy_rotation#

property Property.anisotropy_rotation: float[source]#

Return or set the anisotropy rotation coefficient.

This value controls the rotation of the direction of the anisotropy. This requires that the interpolation be set to 'Physically based rendering'.

For further details see PBR Journey Part 2 : Anisotropy model with VTK

Property has range [0.0, 1.0].

Added in version 0.49.

Examples#

Download Python source code | Download Jupyter notebook

Get the default anisotropy rotation.

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.anisotropy_rotation
0.0

Set the anisotropy rotation.