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

PrepareWorldGeometry() public method

Sets the source of the 'world' geometry, i.e. the large, mainly static geometry making up the world e.g. rooms, landscape etc. This function can be called before setWorldGeometry in a background thread, do to some slow tasks (e.g. IO) that do not involve the backend render system.
Depending on the type of SceneManager (subclasses will be specialised for particular world geometry types) you have requested via the Root or SceneManagerEnumerator classes, you can pass a filename to this method and it will attempt to load the world-level geometry for use. If you try to load an inappropriate type of world data an exception will be thrown. The default SceneManager cannot handle any sort of world geometry and so will always throw an exception. However subclasses like BspSceneManager can load particular types of world geometry e.g. "q3dm1.bsp".
public PrepareWorldGeometry ( string filename ) : void
filename string
return void
        public virtual void PrepareWorldGeometry( string filename )
        {
            throw new NotImplementedException();
        }

Same methods

SceneManager::PrepareWorldGeometry ( Stream stream, string typeName ) : void
SceneManager