Skip to content

maskRectUniform

maskRectUniform(b): [number, number, number, number]

Convert segmentation mask box to rect shader uniform

Parameters

b: Box

Mask box

Returns

[number, number, number, number]

Mask rect shader uniform