layerMask

Sets bits in a visibility mask. By default, this is 0x1.

This feature provides a simple mechanism for hiding and showing groups of renderables in a Scene. See View.setVisibleLayers().

For example, to set bit 1 and reset bits 0 and 2 while leaving all other bits unaffected, do: builder.layerMask(7, 2).

Return

Builder reference for chaining calls.

Parameters

select

the set of bits to affect

values

the replacement values for the affected bits