/// <summary>
        /// Called after searching for visible objects in this SceneManager.
        /// Note that the render queue at this stage will be full of the current scenes contents,
        /// ready for rendering. You may manually add renderables to this queue if you wish.
        /// </summary>
        /// <param name="sceneManager">The SceneManager instance raising this event.</param>
        /// <param name="irs">The stage of illumination being dealt with. IRS_NONE for a regular
        /// render, IRS_RENDER_TO_TEXTURE for a shadow caster render.</param>
        /// <param name="viewport">The viewport being updated.</param>
        void postFindVisibleObjects(IntPtr sceneManager, SceneManager.IlluminationRenderStage irs, IntPtr viewport)
        {
            Viewport vp = ViewportManager.getViewportNoCreate(viewport);

            foreach (SceneListener listener in sceneListeners)
            {
                listener.postFindVisibleObjects(this.sceneManager, irs, vp);
            }
        }
Exemplo n.º 2
0
 public Viewport getCurrentViewport()
 {
     return(ViewportManager.getViewportNoCreate(SceneManager_getCurrentViewport(ogreSceneManager)));
 }