29 using System.Reflection;
 
   30 using OpenSim.Framework;
 
   31 using OpenSim.Region.Framework.Scenes;
 
   32 using OpenSim.Region.Framework.Interfaces;
 
   33 using OpenSim.Region.PhysicsModules.SharedBase;
 
   50 namespace OpenSim.
Region.PhysicsModule.Meshing
 
   53     [Extension(Path = 
"/OpenSim/RegionModules", NodeName = 
"RegionModule", Id = 
"ZeroMesher")]
 
   56         private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
 
   57         private bool m_Enabled = 
false;
 
   59         #region INonSharedRegionModule 
   62             get { 
return "ZeroMesher"; }
 
   65         public Type ReplaceableInterface
 
   73             IConfig config = source.Configs[
"Startup"];
 
   77                 string mesher = config.GetString(
"meshing", Name);
 
   92             scene.RegisterModuleInterface<
IMesher>(
this);
 
  100             scene.UnregisterModuleInterface<
IMesher>(
this);
 
  113             return CreateMesh(primName, primShape, size, lod, 
false);
 
  118             return CreateMesh(primName, primShape, size, lod, 
false);
 
  123             return CreateMesh(primName, primShape, size, lod, 
false);
 
  129             primShape.SculptData = OpenMetaverse.Utils.EmptyBytes;
 
IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex, bool forOde)
 
IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod)
 
void RegionLoaded(Scene scene)
This will be called once for every scene loaded. In a shared module this will be multiple times in on...
 
IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache, bool convex, bool forOde)
 
IMesh GetMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex)
 
IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical)
 
void ExpireReleaseMeshs()
 
void AddRegion(Scene scene)
This is called whenever a Scene is added. For shared modules, this can happen several times...
 
void Close()
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore...
 
void ReleaseMesh(IMesh mesh)
 
void RemoveRegion(Scene scene)
This is called whenever a Scene is removed. For shared modules, this can happen several times...
 
void Initialise(IConfigSource source)
This is called to initialize the region module. For shared modules, this is called exactly once...