Log inGet started
Package

scene.nodebox

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

scene.water (procNode)

The water the scene holds, as a graph value: every surface a water system provides (a landscape's lakes, rivers and seas, an ocean's waves), read as it stands each frame. Wire it into terrain.drape's ground to stand points on the water wherever the graph stands. It takes no inputs.

Inputs

None.

Outputs

  • water (Record): { kind = "scene.water", flag, providers, names, version }: flag names the point attribute the water marks (wet), providers and names the water systems registered to provide a surface (the terrain system is one), and version changes when the water any of them provides does.

Example

local water = g.scene.water()