Skip to content

API / geotoolkit3d / data / surface / HeightMapSurfaceData / HeightMapSurfaceData

Class: HeightMapSurfaceData

surface.HeightMapSurfaceData.HeightMapSurfaceData

Surface data using a heightmap.<br> <br> This surface data object implements a heightmap.<br> Elevations are stored as normalized values into the given 2D texture.

Hierarchy

Table of contents

Constructors
  • [new HeightMapSurfaceData(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.data-8.surface-1.heightmapsurfacedata.heightmapsurfacedata.md#new heightmapsurfacedata(options))
Methods

Contents

Constructors

new HeightMapSurfaceData(options)

• new HeightMapSurfaceData(options)

Parameters

Name Type
optionsOptions

Overrides

AbstractSurfaceData.constructor

Methods

dispose

▸ dispose(): void

Dispose this surface data to allow for garbage collection.

Returns

void

Inherited from

AbstractSurfaceData.dispose


getAttributes

▸ getAttributes(): Attributes

Returns the HeightMap surface attributes

Returns

Attributes

Overrides

AbstractSurfaceData.getAttributes


getClassName

▸ getClassName(): string

Returns

string

Inherited from

AbstractSurfaceData.getClassName


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

AbstractSurfaceData.getClassName