aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Wind/IWindModelPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Wind/IWindModelPlugin.cs')
-rw-r--r--OpenSim/Region/CoreModules/World/Wind/IWindModelPlugin.cs112
1 files changed, 56 insertions, 56 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/IWindModelPlugin.cs b/OpenSim/Region/CoreModules/World/Wind/IWindModelPlugin.cs
index 29b0ed5..6b495da 100644
--- a/OpenSim/Region/CoreModules/World/Wind/IWindModelPlugin.cs
+++ b/OpenSim/Region/CoreModules/World/Wind/IWindModelPlugin.cs
@@ -1,56 +1,56 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3 3
4using Nini.Config; 4using Nini.Config;
5using OpenSim.Framework; 5using OpenSim.Framework;
6using OpenMetaverse; 6using OpenMetaverse;
7using OpenSim.Region.Framework.Scenes; 7using OpenSim.Region.Framework.Scenes;
8 8
9namespace OpenSim.Region.CoreModules.World.Wind 9namespace OpenSim.Region.CoreModules.World.Wind
10{ 10{
11 public interface IWindModelPlugin : IPlugin 11 public interface IWindModelPlugin : IPlugin
12 { 12 {
13 /// <summary> 13 /// <summary>
14 /// Brief description of this plugin's wind model 14 /// Brief description of this plugin's wind model
15 /// </summary> 15 /// </summary>
16 string Description { get; } 16 string Description { get; }
17 17
18 /// <summary> 18 /// <summary>
19 /// Provides access to the wind configuration, if any. 19 /// Provides access to the wind configuration, if any.
20 /// </summary> 20 /// </summary>
21 void WindConfig(Scene scene, IConfig windConfig); 21 void WindConfig(Scene scene, IConfig windConfig);
22 22
23 /// <summary> 23 /// <summary>
24 /// Update wind. 24 /// Update wind.
25 /// </summary> 25 /// </summary>
26 void WindUpdate(uint frame); 26 void WindUpdate(uint frame);
27 27
28 /// <summary> 28 /// <summary>
29 /// Returns the wind vector at the given local region coordinates. 29 /// Returns the wind vector at the given local region coordinates.
30 /// </summary> 30 /// </summary>
31 Vector3 WindSpeed(float x, float y, float z); 31 Vector3 WindSpeed(float x, float y, float z);
32 32
33 /// <summary> 33 /// <summary>
34 /// Generate a 16 x 16 Vector2 array of wind speeds for LL* based viewers 34 /// Generate a 16 x 16 Vector2 array of wind speeds for LL* based viewers
35 /// </summary> 35 /// </summary>
36 /// <returns>Must return a Vector2[256]</returns> 36 /// <returns>Must return a Vector2[256]</returns>
37 Vector2[] WindLLClientArray(); 37 Vector2[] WindLLClientArray();
38 38
39 /// <summary> 39 /// <summary>
40 /// Retrieve a list of parameter/description pairs. 40 /// Retrieve a list of parameter/description pairs.
41 /// </summary> 41 /// </summary>
42 /// <returns></returns> 42 /// <returns></returns>
43 Dictionary<string, string> WindParams(); 43 Dictionary<string, string> WindParams();
44 44
45 /// <summary> 45 /// <summary>
46 /// Set the specified parameter 46 /// Set the specified parameter
47 /// </summary> 47 /// </summary>
48 void WindParamSet(string param, float value); 48 void WindParamSet(string param, float value);
49 49
50 /// <summary> 50 /// <summary>
51 /// Get the specified parameter 51 /// Get the specified parameter
52 /// </summary> 52 /// </summary>
53 float WindParamGet(string param); 53 float WindParamGet(string param);
54 54
55 } 55 }
56} 56}