Skip to content

WaterPlugin

Defined in: sdk/src/water/waterPlugin.ts:388

new WaterPlugin(): WaterPlugin

WaterPlugin

readonly activeWhen: (ComponentDef<WaterZoneData> | ComponentDef<WaterBodyData>)[]

Defined in: sdk/src/water/waterPlugin.ts:391

Nothing to bake, carve or draw without a body or a zone; the frame after the last one goes still runs, and lets go.

Plugin.activeWhen


name: string = 'water'

Defined in: sdk/src/water/waterPlugin.ts:389

Plugin.name

build(app): void

Defined in: sdk/src/water/waterPlugin.ts:405

App

void

Plugin.build


cleanup(app?): void

Defined in: sdk/src/water/waterPlugin.ts:454

Releases acquired resources on quit or a failed build; must tolerate a partially completed build.

App

void

Plugin.cleanup