Landscape
Landscape(
props):Element|null
Mounts a map by name: ground, sea, scatter, navmesh and daylight, alive as
long as this is mounted. It loads the physics wasm on first use, and the
map’s file where registerMaps registered it, both under the loading
screen, and spawns the ground once both have, so a game played alone
with no loading screen loads the wasm only with its first Landscape; the
children mount once the ground exists. The engine draws the room stream by default;
a scene’s Replicas takes over while mounted.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
LandscapeProps |
Returns
Section titled “Returns”Element | null