buildTrackSurface
buildTrackSurface(
trackSurfaceOptions):BufferGeometry<NormalBufferAttributes,BufferGeometryEventMap>
A track’s drawn surface: the cross-section laid every spacing metres
along it, raised by lift, grouped by zone. Where two legs of the track
come within reach of each other, as at a hairpin, each side past the
track’s edge stops where the other leg’s side begins, at its height.
The geometry is the game’s to keep, stand things on and dispose.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
trackSurfaceOptions |
TrackSurfaceOptions |
Returns
Section titled “Returns”BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>