Class MapNodeHeightGeometry

Hierarchy

  • BufferGeometry
    • MapNodeHeightGeometry

Constructors

Methods

Constructors

  • Map node geometry constructor.

    Parameters

    • width: number = 1.0

      Width of the node.

    • height: number = 1.0

      Height of the node.

    • widthSegments: number = 1.0

      Number of subdivisions along the width.

    • heightSegments: number = 1.0

      Number of subdivisions along the height.

    • skirt: boolean = false

      Skirt around the plane to mask gaps between tiles.

    • skirtDepth: number = 10.0
    • imageData: ImageData = null
    • calculateNormals: boolean = true
    • heightScale: number = 1.0

    Returns MapNodeHeightGeometry

Methods

  • Compute normals for the height geometry.

    Only computes normals for the surface of the map geometry. Skirts are not considered.

    Parameters

    • widthSegments: number

      Number of segments in width.

    • heightSegments: number

      Number of segments in height.

    Returns void