Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Heightfield

A shape that is a heightfield. A shape that is a heightfield.

Hierarchy

  • Heightfield

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates a new heightfield shape.

    Parameters

    • heights: Float32Array

      The heights of the heightfield, along its local y axis.

    • scale: Vector

      The scale factor applied to the heightfield.

    Returns Heightfield

  • Creates a new heightfield shape.

    Parameters

    • heights: Float32Array

      The heights of the heightfield, along its local y axis.

    • scale: Vector

      The scale factor applied to the heightfield.

    Returns Heightfield

Properties

Readonly heights

heights: Float32Array

The heights of the heightfield, along its local y axis. The heights of the heightfield, along its local y axis.

Readonly scale

scale: Vector

The heightfield's length along its local x axis. The heightfield's length along its local x axis.

Methods

intoRaw

  • intoRaw(): RawShape
  • intoRaw(): RawShape
  • Returns RawShape

  • Returns RawShape

Generated using TypeDoc