Nez.Portable/ECS/Scene.cs
/// <summary>
/// helper that creates a scene with the DefaultRenderer attached and ready for use
/// </summary>
/// <returns>The with default renderer.</returns>
helper that creates a scene with the DefaultRenderer attached and ready for use
helper that creates a scene with the DefaultRenderer attached and ready for use
public static Scene createWithDefaultRenderer(Color? clearColor = null)
        {
            var scene = new Scene();
            if (clearColor.HasValue)
                scene.clearColor = clearColor.Value;
            scene.AddRenderer(new DefaultRenderer());
            return scene;
        }
public static Scene createWithDefaultRenderer ( Color ? clearColor = null ) { var scene = new Scene ( ) ; if ( clearColor . HasValue ) scene . clearColor = clearColor . Value ; scene . AddRenderer ( new DefaultRenderer ( ) ) ; return scene ; }
helper that creates a scene with the DefaultRenderer attached and ready for use
helper that creates a scene with the DefaultRenderer attached and ready for use
The with default renderer.
The with default renderer .
clearColor
Color?