Returns true if all layers in the other
LayerSet are also present in this one.
Static
fromReturns true if this LayerSet contains no layers.
Static
makeCreates a new LayerSet that is guaranteed to be empty and not intersect existing layers. This bypasses the normal 32 layer limit in Studio, allowing for around 65,000 unique layers.
Returns a string representation of this LayerSet.
Used to describe a set of layers that an object belongs to or interacts with.
See
layer
propertyrenderLayer
propertyrenderLayer
property.Example
Check if a Camera will render this SceneObject
Add this SceneObject's layer to a Camera's render layer, so that the camera will render it.
Create a new LayerSet based on a number