setLayerMask

actual fun setLayerMask(select: Int, value: Int)

Set bits in the visibility mask.

This provides a simple mechanism for hiding or showing this Skybox in a Scene.

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

Parameters

select

The set of bits to affect.

value

The replacement values for the affected bits.

See also

expect fun setLayerMask(select: Int, value: Int)

Set bits in the visibility mask.

This provides a simple mechanism for hiding or showing this Skybox in a Scene.

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

Parameters

select

The set of bits to affect.

value

The replacement values for the affected bits.

See also

actual fun setLayerMask(select: Int, value: Int)

Set bits in the visibility mask.

This provides a simple mechanism for hiding or showing this Skybox in a Scene.

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

Parameters

select

The set of bits to affect.

value

The replacement values for the affected bits.

See also

actual fun setLayerMask(select: Int, value: Int)

Set bits in the visibility mask.

This provides a simple mechanism for hiding or showing this Skybox in a Scene.

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

Parameters

select

The set of bits to affect.

value

The replacement values for the affected bits.

See also

actual fun setLayerMask(select: Int, value: Int)

Set bits in the visibility mask.

This provides a simple mechanism for hiding or showing this Skybox in a Scene.

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

Parameters

select

The set of bits to affect.

value

The replacement values for the affected bits.

See also