public bool GetOption( string key, ref object val )
{
if ( key == "ShowBoundingBoxes" )
{
val = showBoundingBoxes;
return true;
}
if ( key == "ShowPortals" )
{
val = showPortals;
return true;
}
if ( Options.ContainsKey( key ) )
{
val = Options[ key ];
return true;
}
return false;
}