Create a new PlaneGeometry instance.
By default, the constructor creates a plane centered on the object space origin with a width and length of 1 and 5 segments in either axis (50 triangles). The normal vector of the plane is aligned along the positive Y axis. The plane is created with UVs in the range of 0 to 1.
Optional
opts: {Options object.
Optional
calculateTangents?: booleanGenerate tangent information. Defaults to false.
Optional
halfExtents?: Vec2The half dimensions of the plane in the X and Z axes. Defaults to [0.5, 0.5].
Optional
lengthSegments?: numberThe number of divisions along the Z axis of the plane. Defaults to 5.
Optional
widthSegments?: numberThe number of divisions along the X axis of the plane. Defaults to 5.
A procedural plane-shaped geometry.
Typically, you would: