Inheritance: ParticleSystemRendererFactory
Example #1
0
        /// <summary>
        ///		Internal method to init the particle systems.
        /// </summary>
        /// <remarks>
        ///		Since this method is dependent on other engine systems being started, this method will be called by the
        ///		engine when the render system is initialized.
        /// </remarks>
        public void Initialize()
        {
            // Create Billboard renderer factory
            billboardRendererFactory = new BillboardParticleRendererFactory();
            AddRendererFactory(billboardRendererFactory);

            CreateTemplate("NullParticleSystem", ResourceGroupManager.DefaultResourceGroupName);
        }
        /// <summary>
        ///		Internal method to init the particle systems.
        /// </summary>
        /// <remarks>
        ///		Since this method is dependent on other engine systems being started, this method will be called by the
        ///		engine when the render system is initialized.
        /// </remarks>
        internal void Initialize()
        {
            // add ourself as a listener for the frame started event
            //Root.Instance.FrameStarted += new FrameEvent(RenderSystem_FrameStarted);

            // discover and register local attribute parsers
            //RegisterParsers();

            //ParseAllSources();

            // Create Billboard renderer factory
            billboardRendererFactory = new BillboardParticleRendererFactory();
            AddRendererFactory(billboardRendererFactory);

            // This is just called by Axiom.  Ogre does this differently
            ParseAllSources();
        }
        /// <summary>
        ///		Internal method to init the particle systems.
        /// </summary>
        /// <remarks>
        ///		Since this method is dependent on other engine systems being started, this method will be called by the
        ///		engine when the render system is initialized.
        /// </remarks>
        internal void Initialize()
        {
            // add ourself as a listener for the frame started event
            //Root.Instance.FrameStarted += new FrameEvent(RenderSystem_FrameStarted);

            // discover and register local attribute parsers
            //RegisterParsers();

            //ParseAllSources();

            // Create Billboard renderer factory
            billboardRendererFactory = new BillboardParticleRendererFactory();
            AddRendererFactory(billboardRendererFactory);

            // This is just called by Axiom.  Ogre does this differently
            ParseAllSources();
        }
		/// <summary>
		///		Internal method to init the particle systems.
		/// </summary>
		/// <remarks>
		///		Since this method is dependent on other engine systems being started, this method will be called by the
		///		engine when the render system is initialized.
		/// </remarks>
		public void Initialize()
		{
			// Create Billboard renderer factory
			billboardRendererFactory = new BillboardParticleRendererFactory();
			AddRendererFactory( billboardRendererFactory );

			CreateTemplate( "NullParticleSystem", ResourceGroupManager.DefaultResourceGroupName );
		}