aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object
diff options
context:
space:
mode:
authorAdam Frisby2009-04-18 05:43:40 +0000
committerAdam Frisby2009-04-18 05:43:40 +0000
commitb2a7c1468e73294cd906574a29b8876bfd3e43e7 (patch)
tree970623b755978374ee92d00e33033d2640fea5a5 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Object
parentBug fix for standalone HG login. VerifySession should be local for local users. (diff)
downloadopensim-SC_OLD-b2a7c1468e73294cd906574a29b8876bfd3e43e7.zip
opensim-SC_OLD-b2a7c1468e73294cd906574a29b8876bfd3e43e7.tar.gz
opensim-SC_OLD-b2a7c1468e73294cd906574a29b8876bfd3e43e7.tar.bz2
opensim-SC_OLD-b2a7c1468e73294cd906574a29b8876bfd3e43e7.tar.xz
* Adds IObject.Shape to MRM
* Implements Sculpty modification support to MRM * Example: IObject.Shape.SculptMap = new UUID("0000-0000-0000....");
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Object')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectShape.cs48
1 files changed, 48 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectShape.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectShape.cs
new file mode 100644
index 0000000..ed24680
--- /dev/null
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectShape.cs
@@ -0,0 +1,48 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenMetaverse;
5
6namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object
7{
8 public enum SculptType
9 {
10 Default = 1,
11 Sphere = 1,
12 Torus = 2,
13 Plane = 3,
14 Cylinder = 4
15 }
16
17 public enum HoleShape
18 {
19 Default = 0x00,
20 Circle = 0x10,
21 Square = 0x20,
22 Triangle = 0x30
23 }
24
25 public enum PrimType
26 {
27 NotPrimitive = 255,
28 Box = 0,
29 Cylinder = 1,
30 Prism = 2,
31 Sphere = 3,
32 Torus = 4,
33 Tube = 5,
34 Ring = 6,
35 Sculpt = 7
36 }
37
38 public interface IObjectShape
39 {
40 UUID SculptMap { get; set; }
41 SculptType SculptType { get; set; }
42
43 HoleShape HoleType { get; set; }
44 Double HoleSize { get; set; }
45 PrimType PrimType { get; set; }
46
47 }
48} \ No newline at end of file