Axiom.Core.SceneManager.DestroyStaticGeometry C# (CSharp) Method

DestroyStaticGeometry() public method

Remove & destroy a StaticGeometry instance.
public DestroyStaticGeometry ( string name ) : void
name string
return void
		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();
			}
		}

Same methods

SceneManager::DestroyStaticGeometry ( StaticGeometry geom ) : void
SceneManager