diff options
author | Adam Frisby | 2009-05-29 23:49:48 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-29 23:49:48 +0000 |
commit | c30b5ee0144faf60bcdaf6f79c91e3eeb316f104 (patch) | |
tree | 4f22a6f2091707f3160b1efefe60b90cbca81cdc /OpenSim/Region/OptionalModules/Scripting/Minimodule/WorldX | |
parent | * Protip: When you click 'make public' in resharper, note to save before comm... (diff) | |
download | opensim-SC-c30b5ee0144faf60bcdaf6f79c91e3eeb316f104.zip opensim-SC-c30b5ee0144faf60bcdaf6f79c91e3eeb316f104.tar.gz opensim-SC-c30b5ee0144faf60bcdaf6f79c91e3eeb316f104.tar.bz2 opensim-SC-c30b5ee0144faf60bcdaf6f79c91e3eeb316f104.tar.xz |
* Adds World.Audio.* to MRM
* This includes methods such as PlaySound which take a Position as an argument, allowing you to trigger sounds arbitrarily across the scene without needing a parent object in the position.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/WorldX')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/WorldX/IWorldAudio.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/WorldX/IWorldAudio.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/WorldX/IWorldAudio.cs new file mode 100644 index 0000000..a131567 --- /dev/null +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/WorldX/IWorldAudio.cs | |||
@@ -0,0 +1,13 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenMetaverse; | ||
5 | |||
6 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.WorldX | ||
7 | { | ||
8 | public interface IWorldAudio | ||
9 | { | ||
10 | void PlaySound(UUID audio, Vector3 position, double volume); | ||
11 | void PlaySound(UUID audio, Vector3 position); | ||
12 | } | ||
13 | } | ||