WaterSystem
WaterSystem
Kind: global class
- WaterSystem
- new WaterSystem(graphics)
- .bvh :
BVH - .updateQueue :
Array.<Water> - .renderLayer :
RenderLayer|null - .link(component, entity)
- .unlink(component, entity)
new WaterSystem(graphics)
| Param | Type |
|---|---|
| graphics | GraphicsEngine |
waterSystem.bvh : BVH
Kind: instance property of WaterSystem
Read only: true
waterSystem.updateQueue : Array.<Water>
Kind: instance property of WaterSystem
waterSystem.renderLayer : RenderLayer | null
Kind: instance property of WaterSystem
waterSystem.link(component, entity)
Kind: instance method of WaterSystem
| Param | Type |
|---|---|
| component | Water |
| entity | number |
waterSystem.unlink(component, entity)
Kind: instance method of WaterSystem
| Param | Type |
|---|---|
| component | Water |
| entity | number |