Constructor
new PlaneGeometry( width : number, height : number, widthSegments : number, heightSegments : number )
Constructs a new plane geometry.
| width |
The width along the X axis. Default is |
| height |
The height along the Y axis Default is |
| widthSegments |
The number of segments along the X axis. Default is |
| heightSegments |
The number of segments along the Y axis. Default is |
Properties
.parameters : Object
Holds the constructor parameters that have been used to generate the geometry. Any modification after instantiation does not change the geometry.
Static Methods
.fromJSON( data : Object ) : PlaneGeometry
Factory method for creating an instance of this class from the given JSON object.
| data |
A JSON object representing the serialized geometry. |
- Returns: A new instance.