Inheritance: TestScreen
コード例 #1
0
ファイル: LuminanceTest.cs プロジェクト: sachgits/Myre
            public Phase(LuminanceTest test, GraphicsDevice device, ToneMapComponent toneMap)
            {
                batch        = new SpriteBatch(device);
                this.toneMap = toneMap;

                test.UI.Root.Gestures.Bind((g, t, d) => { drawScene = !drawScene; }, new KeyPressed(Keys.Space));
            }
コード例 #2
0
ファイル: LuminanceTest.cs プロジェクト: ylyking/Myre
            public Phase(LuminanceTest test, GraphicsDevice device, ToneMapComponent toneMap)
            {
                batch = new SpriteBatch(device);
                this.toneMap = toneMap;

                test.UI.Root.Gestures.Bind((g, t, d) => { drawScene = !drawScene; }, new KeyPressed(Keys.Space));
            }