curvearrayΒΆ
class curvearray
An array of curves with their variables. See also trianglearray for more information on procedural shape manipulation
Members
| getcount | ( ) | Returns the number of curves |
| getcurveaabb | (
|
Returns the local bounding box of a single curve |
| getcurvesize | (
|
Returns the number of vertices on a single curve |
| getcurvevar | (
|
Returns a variable of a curve. |
| getcurvevars | (
|
Returns all the variables of a curve |
| getsize | ( ) | Returns the number of vertices on all curves |
| getvectvars | ( ) | Returns all the variables packed in a vect |
| hasvar | (
|
Returns true if the variable is present in the curvearray |
Documentation
Returns the number of curves
result
Returns the local bounding box of a single curve
index The curve index in the curvearray
result
Returns the number of vertices on a single curve
index The curve index in the curvearray
result
Returns a variable of a curve.
id The curve idname The variable name to get
result Returns a table with the parameter for each vertices of the curve or nil if the variable is not present.
Returns all the variables of a curve
id The curve id
result
Returns the number of vertices on all curves
result
Returns all the variables packed in a vect
result
Returns true if the variable is present in the curvearray
name The variable name to test
result