Py5Vector.data#
Numpy array used to store the vector’s data values.
Examples#
v1 = py5.Py5Vector(1, 2, 3)
v2 = py5.Py5Vector(1, 10, 100)
print(v1)
# Py5Vector3D(1., 2., 3.)
v1 *= v2.data
print(v1)
# Py5Vector3D(1., 20., 300.)
Description#
Numpy array used to store the vector’s data values.
Updated on March 06, 2023 02:49:26am UTC