///-------------------------------------------------------------------------------------------------
        /// <summary>
        ///     Performs the actual collada file population.
        /// </summary>
        /// <returns>	True if no errors occurred. </returns>
        ///-------------------------------------------------------------------------------------------------
        protected override bool BuildColladaInstanceImpl()
        {
            COLLADAFile = new ColladaFile();

            COLLADAFile.Version = "1.4.1";
            AddAsset(
                System.Environment.UserName,
                "OpenSauceIDE:ColladaBuilder",
                "meter", 0.0254, Enums.ColladaUpAxisEnum.Z_UP);

            mScenarioDataProvider = GetDataProvider <IHalo1ScenarioDataProvider>();

            CreateNodeList();
            AddLibraryVisualScenes();
            AddScene("main");

            return(true);
        }
Exemplo n.º 2
0
		///-------------------------------------------------------------------------------------------------
		/// <summary>
		/// 	Performs the actual collada file population.
		/// </summary>
		/// <returns>	True if no errors occurred. </returns>
		///-------------------------------------------------------------------------------------------------
		protected override bool BuildColladaInstanceImpl()
		{
			COLLADAFile = new ColladaFile();

			COLLADAFile.Version = "1.4.1";
			AddAsset(
				System.Environment.UserName,
				"OpenSauceIDE:ColladaBuilder",
				"meter", 0.0254, Enums.ColladaUpAxisEnum.Z_UP);

			mScenarioDataProvider = GetDataProvider<IHalo1ScenarioDataProvider>();

			CreateNodeList();
			AddLibraryVisualScenes();
			AddScene("main");

			return true;
		}