Пример #1
0
 protected virtual void ConfigureRendering(RenderingConfiguration.IBuilder builder)
 {
     builder
     .WithScreenWidth(1280)
     .WithScreenHeight(720)
     .WithEnableVSync(false)
     .WithSortingLayersOrder(new[] { RenderingConfiguration.DefaultSortingLayerName });
 }
Пример #2
0
        protected override void ConfigureRendering(RenderingConfiguration.IBuilder builder)
        {
            base.ConfigureRendering(builder);

            builder
            .WithScreenWidth(200)
            .WithScreenHeight(200)
            .WithSortingLayersOrder(new[] { Background, RenderingConfiguration.DefaultSortingLayerName, Foreground });
        }