///-------------------------------------------------------------------------------------------------
        /// <summary>
        ///     Creates the library_visual_scenes element in the collada file. The node list is added
        ///     under a node named "frame" since that is required when creating new BSPs.
        /// </summary>
        ///-------------------------------------------------------------------------------------------------
        void AddLibraryVisualScenes()
        {
            // Add the main scene node
            COLLADAFile.LibraryVisualScenes             = new Core.ColladaLibraryVisualScenes();
            COLLADAFile.LibraryVisualScenes.VisualScene = new List <Core.ColladaVisualScene>();
            COLLADAFile.LibraryVisualScenes.VisualScene.Add(new Core.ColladaVisualScene());
            COLLADAFile.LibraryVisualScenes.VisualScene[0].ID   = "main";
            COLLADAFile.LibraryVisualScenes.VisualScene[0].Node = new List <Core.ColladaNode>();

            var frame = new BlamLib.Render.COLLADA.Core.ColladaNode();

            frame.Name = "frame_objects";
            frame.AddRange(listNode);

            COLLADAFile.LibraryVisualScenes.VisualScene[0].Node.Add(frame);
        }
		///-------------------------------------------------------------------------------------------------
		/// <summary>
		/// 	Creates the library_visual_scenes element in the collada file. The node list is added
		/// 	under a node named "frame" since that is required when creating new BSPs.
		/// </summary>
		///-------------------------------------------------------------------------------------------------
		void AddLibraryVisualScenes()
		{
			// Add the main scene node
			COLLADAFile.LibraryVisualScenes = new Core.ColladaLibraryVisualScenes();
			COLLADAFile.LibraryVisualScenes.VisualScene = new List<Core.ColladaVisualScene>();
			COLLADAFile.LibraryVisualScenes.VisualScene.Add(new Core.ColladaVisualScene());
			COLLADAFile.LibraryVisualScenes.VisualScene[0].ID = "main";
			COLLADAFile.LibraryVisualScenes.VisualScene[0].Node = new List<Core.ColladaNode>();

			var frame = new BlamLib.Render.COLLADA.Core.ColladaNode();
			frame.Name = "frame_objects";
			frame.AddRange(listNode);

			COLLADAFile.LibraryVisualScenes.VisualScene[0].Node.Add(frame);
		}
 public void Add(ColladaNode node)
 {
     AddToElementList <ColladaNode>(node, _node);
 }