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).
To change this at run time, see RenderableManager.setLayerMask.
Return
Builder reference for chaining calls.
Parameters
the set of bits to affect
the replacement values for the affected bits
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).
To change this at run time, see RenderableManager.setLayerMask.
Return
Builder reference for chaining calls.
Parameters
the set of bits to affect
the replacement values for the affected bits
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).
To change this at run time, see RenderableManager.setLayerMask.
Return
Builder reference for chaining calls.
Parameters
the set of bits to affect
the replacement values for the affected bits
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).
To change this at run time, see RenderableManager.setLayerMask.
Return
Builder reference for chaining calls.
Parameters
the set of bits to affect
the replacement values for the affected bits
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).
To change this at run time, see RenderableManager.setLayerMask.
Return
Builder reference for chaining calls.
Parameters
the set of bits to affect
the replacement values for the affected bits