public void DestroyStaticGeometry( string name ) { StaticGeometry geometry; if ( !this.staticGeometryList.TryGetValue( name, out geometry ) ) { throw new AxiomException( "StaticGeometry with name '" + name + "' not found!" ); } else { this.staticGeometryList.Remove( name ); geometry.Destroy(); } }