2D Geometries: PlaneGeometry
Explore how to create simple 2D rectangle shapes using Three.js PlaneGeometry. Learn to customize width, height, and segment properties, and understand how these affect the geometry's appearance and structure.
We'll cover the following...
We'll cover the following...
2D geometries
2D objects look like flat objects and as the name implies, they only have two dimensions. In this section, we’ll first look at the 2D geometries:
THREE.PlaneGeometryTHREE.CircleGeometryTHREE.RingGeometryTHREE.ShapeGeometry
The THREE.PlaneGeometry
A THREE.PlaneGeometry object can be used to create a very simple 2D rectangle. A ...