public ARGraphDealer(ARXNAGame game) : base(game) { painter = new ARPainter(game); modelDrawer = new ARModelDrawer(game); projection = Matrix.CreatePerspectiveFieldOfView(MathHelper.ToRadians(60.0f), //待编辑 1.6f, 1.0f, 5000.0f); camera = new ARBaseCamera(new Vector3(0, 45, 35), Vector3.Zero, projection); }
public ARModelDrawer(ARXNAGame game) : base(game) { }
/// <summary> /// 更改设置后需要重新修改!? /// </summary> /// <param name="device"></param> public override void Reload(ARXNAGame game) { this.aspectRatio = game.GraphicsDevice.Viewport.AspectRatio; }
public ARGameAreaDealer(ARXNAGame game) : base(game) { Resize(); }
public ARPainter(ARXNAGame game) : base(game) { gameAreaDealer = new ARGameAreaDealer(game); currentFont = game.Content.Load <SpriteFont>("defaultFont"); }
public ARSceneManager(ARGameBase game) { this.game = game; }