Axiom.SceneManagers.Bsp.BspSceneManager.FindVisibleObjects C# (CSharp) Method

FindVisibleObjects() public method

Overriden from SceneManager.
public FindVisibleObjects ( Camera camera, bool onlyShadowCasters ) : void
camera Axiom.Core.Camera
onlyShadowCasters bool
return void
		public override void FindVisibleObjects( Camera camera, bool onlyShadowCasters )
		{
			if ( !onlyShadowCasters )
			{
				// Add this renderable to the RenderQueue so that the BspSceneManager gets
				// notified when the geometry needs rendering and with what lights
				//GetRenderQueue().AddRenderable( bspGeometry );
			}

			// Clear unique list of movables for this frame
			objectsForRendering.Clear();

			// Walk the tree, tag static geometry, return camera's node (for info only)
			// Movables are now added to the render queue in processVisibleLeaf
			BspNode cameraNode = WalkTree( camera, onlyShadowCasters );
		}