diff options
author | Melanie | 2012-05-31 03:35:24 +0100 |
---|---|---|
committer | Melanie | 2012-05-31 03:35:24 +0100 |
commit | e80161753f3a86acec96c5015641543fb4965cc1 (patch) | |
tree | ae9c6e9b913c0fcf6dd800c52363b9ea320373e1 /OpenSim/Region/Physics/Manager/PhysicsScene.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Add an optional mechanism for physics modules to collect and return arbitrary... (diff) | |
download | opensim-SC-e80161753f3a86acec96c5015641543fb4965cc1.zip opensim-SC-e80161753f3a86acec96c5015641543fb4965cc1.tar.gz opensim-SC-e80161753f3a86acec96c5015641543fb4965cc1.tar.bz2 opensim-SC-e80161753f3a86acec96c5015641543fb4965cc1.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsScene.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index d10a2aa..cfede55 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
@@ -241,8 +241,22 @@ namespace OpenSim.Region.Physics.Manager | |||
241 | 241 | ||
242 | public abstract void AddPhysicsActorTaint(PhysicsActor prim); | 242 | public abstract void AddPhysicsActorTaint(PhysicsActor prim); |
243 | 243 | ||
244 | /// <summary> | ||
245 | /// Perform a simulation of the current physics scene over the given timestep. | ||
246 | /// </summary> | ||
247 | /// <param name="timeStep"></param> | ||
248 | /// <returns>The number of frames simulated over that period.</returns> | ||
244 | public abstract float Simulate(float timeStep); | 249 | public abstract float Simulate(float timeStep); |
245 | 250 | ||
251 | /// <summary> | ||
252 | /// Get statistics about this scene. | ||
253 | /// </summary> | ||
254 | /// <remarks>This facility is currently experimental and subject to change.</remarks> | ||
255 | /// <returns> | ||
256 | /// A dictionary where the key is the statistic name. If no statistics are supplied then returns null. | ||
257 | /// </returns> | ||
258 | public virtual Dictionary<string, float> GetStats() { return null; } | ||
259 | |||
246 | public abstract void GetResults(); | 260 | public abstract void GetResults(); |
247 | 261 | ||
248 | public abstract void SetTerrain(float[] heightMap); | 262 | public abstract void SetTerrain(float[] heightMap); |