pyvista.DataSetAttributes.active_t_coords#

property DataSetAttributes.active_t_coords: pyvista_ndarray | None[source]#

Return the active texture coordinates array.

Returns:
pyvista.pyvista_ndarray

Array of the active texture coordinates.

Examples

>>> import pyvista
>>> mesh = pyvista.Cube()
>>> mesh.point_data.active_t_coords
pyvista_ndarray([[ 0.,  0.],
                 [ 1.,  0.],
                 [ 1.,  1.],
                 [ 0.,  1.],
                 [-0.,  0.],
                 [-0.,  1.],
                 [-1.,  1.],
                 [-1.,  0.]], dtype=float32)