跳转到内容

waveFade

此内容尚不支持你的语言。

waveFade(length, cell): number

Defined in: sdk/src/water/waves.ts:68

How much of a wave a mesh of cell-sized cells can draw: none below three cells to a wavelength, all of it from six. The shader applies the same ramp per vertex with the cell size of the ring the vertex is in, so a coarse far ring does not alias; cell 0 draws every wave.

number

number

number