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

WaterfallMaterialProps

Property Type Default value Description
bottomFoamHeight? number 1.2 Metres of foam up from the foot, where the fall lands; 0 draws none.
color? ColorRepresentation "#4fb8dc" The falling water’s colour.
fallSpeed? number 4 Metres a second the streaks fall; 0 holds them still, and a negative speed runs them up the sheet.
foamColor? ColorRepresentation "#f4fbff" The colour of the foam at the lip and the foot, and of the streaks.
material? ModelMaterial undefined The game’s function over the engine’s material, as the sea’s material is: handed the engine’s, it returns it patched, such as made see-through, or a material of the game’s in its place. Define it once, outside the component.
streakLength? number five times streakWidth The streaks’ length in metres: a fall seen from far reads as long white lines, which a length many times the width draws.
streakWidth? number 0.6 The streaks’ width in metres.
topFoamHeight? number 0.8 Metres of foam down from the lip; 0 draws none.