TrackSurfaceProps
TrackSurfaceProps =
object&Omit<TrackSurfaceOptions,"zones"> | {geometry:BufferGeometry; }
Defined in: packages/engine/src/components/TrackSurface.tsx:13
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
materials |
TrackSurfaceViewProps["materials"] |
A material element for each zone, by the zone’s name, such as { snow: <meshStandardMaterial />, ice: <meshStandardMaterial /> }. The first draws every stretch no zone claims, and terrain draws the land when there is some. |
receiveShadow? |
boolean |
Takes the shadows other things cast on it. |