Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SphericalGeometrySubdivisionModifier

The SphericalGeometrySubdivisionModifier subdivides triangle mesh geometries positioned on the surface of a sphere centered at (0, 0, 0).

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly angle

angle: number

The maximum angle in radians between two vertices and the origin.

Readonly projection

projection: Projection

The projection that defines the world space of this geometry.

Methods

modify

  • modify(geometry: BufferGeometry): BufferGeometry
  • Subdivides the faces of the given [[THREE.BufferGeometry]].

    This method modifies (in-place) the vertices and the faces of the geometry. Please note that only the vertex position and their UV coordinates are subdivided. Normals, vertex colors and other attributes are left unmodified.

    Parameters

    • geometry: BufferGeometry

      The [[THREE.BufferGeometry]] to subdivide.

    Returns BufferGeometry

Protected shouldSplitTriangle

  • shouldSplitTriangle(a: Vector3, b: Vector3, c: Vector3): number | undefined

Generated using TypeDoc