pyvista.Property.anisotropy#
- property Property.anisotropy: float[source]#
Return or set the anisotropy coefficient.
This value controls the anisotropy of the material (0.0 means isotropic). 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]
.Notes
This attribute requires VTK v9.1.0 or newer.
Examples
Get the default anisotropy and visualize it with physically-based rendering.
>>> import pyvista as pv >>> prop = pv.Property() >>> prop.anisotropy 0.0
>>> prop.interpolation = 'pbr' # required >>> prop.plot()