示例#1
0
        void Initialize()
        {
            LayerColorFormat    = EAGLColorFormat.RGBA8;
            ContextRenderingApi = EAGLRenderingAPI.OpenGLES1;

            var now = DateTime.UtcNow;

            _sunLoc   = Location.SunLocation(now);
            Camera    = new Camera();
            CameraMan = new BlimpCameraMan(
                new Location(-122.3352, 47.640),
                new Location(-122.3352, 47.650));
            MultipleTouchEnabled = true;
            Unload += HandleUnload;
        }
示例#2
0
        void Initialize()
        {
            LayerRetainsBacking = true;
            LayerColorFormat    = EAGLColorFormat.RGBA8;
            ContextRenderingApi = EAGLRenderingAPI.OpenGLES1;

            MultipleTouchEnabled = true;

            var now = DateTime.UtcNow;
            _sunLoc = Location.SunLocation(now);
            Camera = new Camera();
            CameraMan = new BlimpCameraMan(
                new Location(-122.3352, 47.645),
                new Location(-122.3352, 47.6453));
            Unload += HandleUnload;
        }
示例#3
0
 void Initialize()
 {
     var now = DateTime.Now;
     _sunLoc = Caulker.Location.SunLocation(now);
     Camera = new Camera();
     CameraMan = new BlimpCameraMan(
         new Location(153.0306, -27.4778),         // Greetings from Brisbane :)
         new Location(153.0306, -27.4878));
     Unload += HandleUnload;
 }