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