Beispiel #1
0
        public override void Initialize(IApplication application)
        {
            base.Initialize(application);

            ScreenLayers screenLayers = WaveServices.ScreenLayers;

            screenLayers.AddScene <MyScene>();
            screenLayers.Apply();
        }
Beispiel #2
0
        public override void Initialize(IApplication application)
        {
            base.Initialize(application);

            WaveServices.ViewportManager.Activate(800, 600, ViewportManager.StretchMode.Uniform);

            ScreenLayers screenLayers = WaveServices.ScreenLayers;

            screenLayers.AddScene <MyScene>();
            screenLayers.Apply();
        }
Beispiel #3
0
        public override void Initialize(IApplication application)
        {
            base.Initialize(application);

            ViewportManager vm = WaveServices.GetService <ViewportManager>();

            vm.Activate(800, 480, ViewportManager.StretchMode.Uniform);

            this.analyticsManager = new AnalyticsManager(application.Adapter);
            WaveServices.RegisterService <AnalyticsManager>(analyticsManager);

            this.analyticsManager.SetAnalyticsSystem(new LocalyticsInfo("492098e861d94597fd5f0cf-e9b821a6-7d17-11e3-9836-009c5fda0a25"));
            this.analyticsManager.Open();
            this.analyticsManager.Upload();

            ScreenLayers screenLayers = WaveServices.ScreenLayers;

            screenLayers.AddScene <MyScene>();
            screenLayers.Apply();
        }