Skip to content
On this page

Geometries

Geometry components are simply passed to the corresponding Object3D.

Usage

template
<Mesh>
  <MeshBasicMaterial color="red" />
  <BoxGeometry />
</Mesh>
template
<Points>
  <PointsMaterial color="blue" />
  <SphereGeometry />
</Points>
template
<LineSegments>
  <LineBasicMaterial color="black" />
  <PlaneGeometry />
</LineSegments>

Available geometries

General BufferGeometry is available with reactive vertices, faces and uvs support. The props are passed as flat arrays.

The following basic geometries are supported:

Some utility geometries are supported as well:

Additional geometries are implemented:

Released under the MIT License.