aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs192
1 files changed, 96 insertions, 96 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
index ef442d4..0c7bfc0 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
@@ -1,96 +1,96 @@
1using System; 1using System;
2using System.Drawing; 2using System.Drawing;
3using OpenMetaverse; 3using OpenMetaverse;
4 4
5namespace OpenSim.Region.OptionalModules.Scripting.Minimodule 5namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
6{ 6{
7 public interface IObject 7 public interface IObject
8 { 8 {
9 bool Exists { get; } 9 bool Exists { get; }
10 uint LocalID { get; } 10 uint LocalID { get; }
11 UUID GlobalID { get; } 11 UUID GlobalID { get; }
12 12
13 IObject[] Children { get; } 13 IObject[] Children { get; }
14 14
15 /// <summary> 15 /// <summary>
16 /// Equals 'this' if we have no parent. Ergo, Root.Children.Count will always return the total number of items in the linkset. 16 /// Equals 'this' if we have no parent. Ergo, Root.Children.Count will always return the total number of items in the linkset.
17 /// </summary> 17 /// </summary>
18 IObject Root { get; } 18 IObject Root { get; }
19 19
20 IObjectFace[] Faces { get; } 20 IObjectFace[] Faces { get; }
21 21
22 Vector3 Scale { get; set; } 22 Vector3 Scale { get; set; }
23 Quaternion Rotation { get; set; } 23 Quaternion Rotation { get; set; }
24 24
25 Vector3 SitTarget { get; set; } 25 Vector3 SitTarget { get; set; }
26 String SitTargetText { get; set; } 26 String SitTargetText { get; set; }
27 27
28 String TouchText { get; set; } 28 String TouchText { get; set; }
29 29
30 String Text { get; set; } 30 String Text { get; set; }
31 31
32 bool IsPhysical { get; set; } // SetStatus(PHYSICS) 32 bool IsPhysical { get; set; } // SetStatus(PHYSICS)
33 bool IsPhantom { get; set; } // SetStatus(PHANTOM) 33 bool IsPhantom { get; set; } // SetStatus(PHANTOM)
34 bool IsRotationLockedX { get; set; } // SetStatus(!ROTATE_X) 34 bool IsRotationLockedX { get; set; } // SetStatus(!ROTATE_X)
35 bool IsRotationLockedY { get; set; } // SetStatus(!ROTATE_Y) 35 bool IsRotationLockedY { get; set; } // SetStatus(!ROTATE_Y)
36 bool IsRotationLockedZ { get; set; } // SetStatus(!ROTATE_Z) 36 bool IsRotationLockedZ { get; set; } // SetStatus(!ROTATE_Z)
37 bool IsSandboxed { get; set; } // SetStatus(SANDBOX) 37 bool IsSandboxed { get; set; } // SetStatus(SANDBOX)
38 bool IsImmotile { get; set; } // SetStatus(BLOCK_GRAB) 38 bool IsImmotile { get; set; } // SetStatus(BLOCK_GRAB)
39 bool IsAlwaysReturned { get; set; } // SetStatus(!DIE_AT_EDGE) 39 bool IsAlwaysReturned { get; set; } // SetStatus(!DIE_AT_EDGE)
40 bool IsTemporary { get; set; } // TEMP_ON_REZ 40 bool IsTemporary { get; set; } // TEMP_ON_REZ
41 41
42 bool IsFlexible { get; set; } 42 bool IsFlexible { get; set; }
43 43
44 PrimType PrimShape { get; set; } 44 PrimType PrimShape { get; set; }
45 // TODO: 45 // TODO:
46 // PrimHole 46 // PrimHole
47 // Repeats, Offsets, Cut/Dimple/ProfileCut 47 // Repeats, Offsets, Cut/Dimple/ProfileCut
48 // Hollow, Twist, HoleSize, 48 // Hollow, Twist, HoleSize,
49 // Taper[A+B], Shear[A+B], Revolutions, 49 // Taper[A+B], Shear[A+B], Revolutions,
50 // RadiusOffset, Skew 50 // RadiusOffset, Skew
51 51
52 Material Material { get; set; } 52 Material Material { get; set; }
53 } 53 }
54 54
55 public enum Material 55 public enum Material
56 { 56 {
57 Default, 57 Default,
58 Glass, 58 Glass,
59 Metal, 59 Metal,
60 Plastic, 60 Plastic,
61 Wood, 61 Wood,
62 Rubber, 62 Rubber,
63 Stone, 63 Stone,
64 Flesh 64 Flesh
65 } 65 }
66 66
67 public enum PrimType 67 public enum PrimType
68 { 68 {
69 NotPrimitive = 255, 69 NotPrimitive = 255,
70 Box = 0, 70 Box = 0,
71 Cylinder = 1, 71 Cylinder = 1,
72 Prism = 2, 72 Prism = 2,
73 Sphere = 3, 73 Sphere = 3,
74 Torus = 4, 74 Torus = 4,
75 Tube = 5, 75 Tube = 5,
76 Ring = 6, 76 Ring = 6,
77 Sculpt = 7 77 Sculpt = 7
78 } 78 }
79 79
80 public enum TextureMapping 80 public enum TextureMapping
81 { 81 {
82 Default, 82 Default,
83 Planar 83 Planar
84 } 84 }
85 85
86 public interface IObjectFace 86 public interface IObjectFace
87 { 87 {
88 Color Color { get; set; } 88 Color Color { get; set; }
89 UUID Texture { get; set; } 89 UUID Texture { get; set; }
90 TextureMapping Mapping { get; set; } // SetPrimParms(PRIM_TEXGEN) 90 TextureMapping Mapping { get; set; } // SetPrimParms(PRIM_TEXGEN)
91 bool Bright { get; set; } // SetPrimParms(FULLBRIGHT) 91 bool Bright { get; set; } // SetPrimParms(FULLBRIGHT)
92 double Bloom { get; set; } // SetPrimParms(GLOW) 92 double Bloom { get; set; } // SetPrimParms(GLOW)
93 bool Shiny { get; set; } // SetPrimParms(SHINY) 93 bool Shiny { get; set; } // SetPrimParms(SHINY)
94 bool BumpMap { get; set; } // SetPrimParms(BUMPMAP) [DEPRECIATE IN FAVOUR OF UUID?] 94 bool BumpMap { get; set; } // SetPrimParms(BUMPMAP) [DEPRECIATE IN FAVOUR OF UUID?]
95 } 95 }
96} 96}