StaticallReturns a new LayerSet that contains every layer. This is the default value for LightSource.renderLayer and Camera.renderLayer.
Returns true if all layers in the other LayerSet are also present in this one.
StaticfromReturns true if this LayerSet contains no layers.
StaticmakeCreates 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
layerpropertyrenderLayerpropertyrenderLayerproperty.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