Exemple #1
0
        public GameView3D()
        {
            InitializeComponent();


            GGraph3D = new TrinityEngine.Graph.GameGraph3D();
            GGraph   = GGraph3D;

            View.RenderCall = () =>
            {
                if (!resources)
                {
                    resources = true;
                    GGraph.CreateResources();
                }
                Console.WriteLine("Rendering 3D ");

                GGraph3D.Render();
            };
        }
Exemple #2
0
 public override void SetGameGraph(TrinityEngine.Graph.GameGraph graph)
 {
     GGraph   = graph;
     GGraph3D = (TrinityEngine.Graph.GameGraph3D)graph;
 }