robot_2Generated
code_blocksInput

Description

The Default field of the SceneRenderLayer enumeration represents the standard rendering layer. It is used to draw objects in a manner that makes sense based on the current rendering flags and default behavior. This layer is typically used for rendering objects in the main scene without any special considerations for depth or overlay effects.

Usage

Use the SceneRenderLayer.Default when you want to render objects in the standard scene layer. This is the default behavior for most objects and should be used unless you have specific requirements to render objects in a different layer, such as overlays or view models.

Example

// Example of using SceneRenderLayer.Default

public class MyGameObject : GameObject
{
    public override void Render()
    {
        // Render this object using the default scene render layer
        RenderLayer = SceneRenderLayer.Default;
        base.Render();
    }
}