layerMask

actual fun layerMask(select: Int, value: Int): RenderableManager.Builder

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

select

the set of bits to affect

value

the replacement values for the affected bits

expect fun layerMask(select: Int, value: Int): RenderableManager.Builder

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

select

the set of bits to affect

value

the replacement values for the affected bits

actual fun layerMask(select: Int, value: Int): RenderableManager.Builder

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

select

the set of bits to affect

value

the replacement values for the affected bits

actual fun layerMask(select: Int, value: Int): RenderableManager.Builder

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

select

the set of bits to affect

value

the replacement values for the affected bits

actual fun layerMask(select: Int, value: Int): RenderableManager.Builder

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

select

the set of bits to affect

value

the replacement values for the affected bits