Repository navigation
API Class Water
Defined in: src/engine/render/water/WaterSurface.ts:198
Water queries for the current World (ADR 0072).
new Water(): Water;Water
get static surface(): WaterSurface | null;Defined in: src/engine/render/water/WaterSurface.ts:200
The World's first enabled WaterSurface, or null.
WaterSurface | null
get static time(): number;Defined in: src/engine/render/water/WaterSurface.ts:205
The water clock of the current World, in seconds: what the waves are drawn and sampled at.
number
static sample(x, z): WaterSample | null;Defined in: src/engine/render/water/WaterSurface.ts:210
The height and normal of the World's first enabled WaterSurface at world (x, z); null without one.
number
number
WaterSample | null
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference