docs/pages/ShapeGeometry.html
Constructs a new shape geometry.
| shapes |
A shape or an array of shapes.
| | curveSegments |
Number of segments per shape.
Default is 12.
|
Holds the constructor parameters that have been used to generate the geometry. Any modification after instantiation does not change the geometry.
Factory method for creating an instance of this class from the given JSON object.
| data |
A JSON object representing the serialized geometry.
| | shapes |
An array of shapes.
|
Returns: A new instance.