示例#1
0
        public override void Initialize()
        {
            currentFormWindowState = Form.WindowState;

            Width            = 1024;
            Height           = 768;
            FullScreenWidth  = Screen.PrimaryScreen.Bounds.Width;
            FullScreenHeight = Screen.PrimaryScreen.Bounds.Height;
            NearPlane        = 1.0f;
            FarPlane         = 200f;
            //Ambient = Color.Gray.ToArgb();

            Info = new InfoText(Device);
            Demo.Input.Control = (Form as XnaForm).GraphicsDeviceControl;
        }
示例#2
0
        public override void Initialize()
        {
            currentFormWindowState = Form.WindowState;

            Width = 1024;
            Height = 768;
            FullScreenWidth = Screen.PrimaryScreen.Bounds.Width;
            FullScreenHeight = Screen.PrimaryScreen.Bounds.Height;
            NearPlane = 1.0f;
            FarPlane = 200f;
            //Ambient = Color.Gray.ToArgb();

            Info = new InfoText(Device);
            Demo.Input.Control = (Form as XnaForm).GraphicsDeviceControl;
        }