Axiom.Core.SceneNode.AddBoundingBoxToQueue C# (CSharp) Method

AddBoundingBoxToQueue() public method

Adds this nodes bounding box (wireframe) to the RenderQueue.
public AddBoundingBoxToQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
return void
		public void AddBoundingBoxToQueue( RenderQueue queue )
		{
			if ( wireBox == null )
				wireBox = new WireBoundingBox();

			// add the wire bounding box to the render queue
			wireBox.BoundingBox = worldAABB;
			queue.AddRenderable( wireBox );
		}