DataSetAttributes.active_texture_coordinates#
- property DataSetAttributes.active_texture_coordinates: pyvista_ndarray | None[source]#
Return the active texture coordinates array.
- Returns:
pyvista.pyvista_ndarrayArray of the active texture coordinates.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.Cube()
>>> mesh.point_data.active_texture_coordinates
pyvista_ndarray([[-0., 0.],
[ 0., 0.],
[ 0., 1.],
[-0., 1.],
[-1., 0.],
[-1., 1.],
[ 1., 1.],
[ 1., 0.]], dtype=float32)