PlaneGeometry constructor
PlaneGeometry(
- dynamic width,
- dynamic height, [
- dynamic widthSegments = 1,
- dynamic heightSegments = 1,
Implementation
PlaneGeometry(width, height, [widthSegments = 1, heightSegments = 1])
: super() {
this.parameters = {
"width": width,
"height": height,
"widthSegments": widthSegments,
"heightSegments": heightSegments
};
this.fromBufferGeometry(
THREE.PlaneGeometry(width, height, widthSegments, heightSegments));
this.mergeVertices();
}