toString()

ベクトルの文字列表現を返します。

toString()を呼び出すことは、デバッグ中にコンソールに ベクトルを出力する際に便利です。

実例

リターン

String: ベクトルの文字列表現。
Notice any errors or typos? Please let us know. Please feel free to edit src/math/p5.Vector.js and open a pull request!

関連するリファレンス