setLayerMask
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
The set of bits to affect.
The replacement values for the affected bits.
See also
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
The set of bits to affect.
The replacement values for the affected bits.
See also
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
The set of bits to affect.
The replacement values for the affected bits.
See also
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
The set of bits to affect.
The replacement values for the affected bits.
See also
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
The set of bits to affect.
The replacement values for the affected bits.