protected override void Initialise() { //create the draw target. drawToScreen = new DrawTargetScreen(this, new Camera3D()); //create the image displayer, passing in a reference //to the ContentRegister for this Application instance ImageDisplayer imageDisplayer = new ImageDisplayer(this.Content); //add it to the screen drawToScreen.Add(imageDisplayer); }
protected override void Initialise() { //create the draw target. drawToScreen = new DrawTargetScreen(new Camera3D()); //create the image displayer, passing in a reference //to the ContentRegister for this Application instance var imageDisplayer = new ImageDisplayer(this.Content); //add it to the screen drawToScreen.Add(imageDisplayer); }