Name | array() |
---|---|
Examples |
v = PVector(10.0, 20.0, 30.0) f = v.array() print(f[0])# Prints "10.0" print(f[1])# Prints "20.0" print(f[2])# Prints "30.0" |
Description | Return a representation of this vector as a float array. This is only for temporary use. If used in any other fashion, the contents should be copied by using the PVector.get() method to copy into your own array. |
Syntax | .array() |
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License