Axiom.Core.StaticGeometry.Destroy C# (CSharp) Method

Destroy() public method

Destroys all the built geometry state (reverse of build).
You can call build() again after this and it will pick up all the same entities / nodes you queued last time.
public Destroy ( ) : void
return void
		public void Destroy()
		{
			foreach ( Region region in regionMap.Values )
			{
				owner.ExtractMovableObject( region );
				region.Dispose();
			}
			regionMap.Clear();
		}