Description
The Unknown
field is a member of the SceneLayerType
enumeration in the Sandbox namespace. It represents an undefined or unspecified scene layer type. This value can be used as a default or placeholder when the specific layer type is not known or not applicable.
Usage
Use the SceneLayerType.Unknown
field when you need to specify a scene layer type but do not have a specific type to assign. This can be useful in scenarios where the layer type is determined dynamically or is not relevant to the current context.
Example
// Example of using SceneLayerType.Unknown
SceneLayerType layerType = SceneLayerType.Unknown;
if (layerType == SceneLayerType.Unknown)
{
// Handle the unknown layer type case
// This could involve setting a default behavior or logging a warning
}