Documentation
›
API Reference
›
Object
›
Math
›
Vec3
Length
Lua
C++
This function returns the length of a vector.
Syntax
number
Length
()
Returns
Returns the magnitude of this vector. If each component of the vector is 0, the function will return 0.