/// <summary> /// Load content /// </summary> public void LoadContent() { SafeDispose(ref sceneDrawer); scene = Content.Load <Scene>(@"tube"); sceneDrawer = new MySceneDrawer(GraphicsDevice, scene); }
/// <summary> /// Load content /// </summary> public void LoadContent() { SafeDispose(ref sceneDrawer); scene = Content.Load <Scene>(@"test"); sceneDrawer = new MySceneDrawer(GraphicsDevice, scene); Log.Message("{0}", scene.Nodes.Count(n => n.MeshIndex >= 0)); }