Пример #1
0
 /// <summary>
 /// (internal) create new scene graph
 /// </summary>
 /// <param name="panel">panel hosting the scene</param>
 /// <param name="clipping">clipping data object, usually member of the panel</param>
 internal ILSceneGraph(ILPanel panel, ILClippingData clipping)
     : base(panel, clipping)
 {
     m_root              = new ILSceneGraphRoot(panel);
     m_root.Invalidated += new EventHandler(m_root_Invalidated);
     m_root.SizeChanged += new EventHandler(m_root_SizeChanged);
     m_root.NodeAdded   += new SceneGraphNodeHandler(m_root_NodeAdded);
     m_root.NodeRemoved += new SceneGraphNodeHandler(m_root_NodeRemoved);
     m_graphType         = GraphType.SceneGraph;
 }
Пример #2
0
 /// <summary>
 /// (internal) create new scene graph 
 /// </summary>
 /// <param name="panel">panel hosting the scene</param>
 /// <param name="clipping">clipping data object, usually member of the panel</param>
 internal ILSceneGraph (ILPanel panel, ILClippingData clipping) 
     : base(panel,clipping) {
     m_root = new ILSceneGraphRoot(panel);
     m_root.Invalidated += new EventHandler(m_root_Invalidated);
     m_root.SizeChanged += new EventHandler(m_root_SizeChanged);
     m_root.NodeAdded += new SceneGraphNodeHandler(m_root_NodeAdded);
     m_root.NodeRemoved += new SceneGraphNodeHandler(m_root_NodeRemoved);
     m_graphType = GraphType.SceneGraph; 
 }