跳转到内容

maskRects

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

maskRects(shelters, view, strips?): MaskRect[]

Defined in: sdk/src/render/rainShelter.ts:177

What to draw for the shelters: a rectangle each, an ellipse as strips of one, the driest last so where two overlap the drier wins (a draw overwrites, and a max is what overlapping shelters want). The mask is not drawn for shelters the view cannot see.

readonly Shelter[]

The world rectangle the mask covers.

number

number

number

number

number = ELLIPSE_STRIPS

MaskRect[]