Retrieves the value at the specified index from the vector.
This method allows you to get the value of a specific component of the vector by providing its index. Think of the vector as a list of numbers, where each number represents a different direction (like x, y, or z). The index is just the position of the number in that list.
For example, if you have a vector with values 10, 20, 30 the index 0 would give you the first value 10, index 1 would give you the second value 20, and so on.
Examples
Syntax
getValue(index)
Parameters
Returns
Related References
textToContours
Returns an array of arrays of points outlining a string of text written using the font.
textToModel
Converts text into a 3D model that can be rendered in WebGL mode.
textToPaths
Returns a flat array of path commands that describe the outlines of a string of text.
textToPoints
Returns an array of points outlining a string of text written using the font.