Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

raiseHeightfield

raiseHeightfield(geometry, surface): void

Lifts each vertex of a flat plane to the surface’s height under it. The plane lies in its own x-y, as three builds one, which the ground’s rotation stands up with its y along minus the world’s z.

Parameter Type
geometry PlaneGeometry
surface Pick<GroundSurface, "getHeightAt">

void