From b2a7c1468e73294cd906574a29b8876bfd3e43e7 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 18 Apr 2009 05:43:40 +0000 Subject: * Adds IObject.Shape to MRM * Implements Sculpty modification support to MRM * Example: IObject.Shape.SculptMap = new UUID("0000-0000-0000...."); --- .../Scripting/Minimodule/Object/IObjectShape.cs | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectShape.cs (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectShape.cs') 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 @@ +using System; +using System.Collections.Generic; +using System.Text; +using OpenMetaverse; + +namespace OpenSim.Region.OptionalModules.Scripting.Minimodule.Object +{ + public enum SculptType + { + Default = 1, + Sphere = 1, + Torus = 2, + Plane = 3, + Cylinder = 4 + } + + public enum HoleShape + { + Default = 0x00, + Circle = 0x10, + Square = 0x20, + Triangle = 0x30 + } + + public enum PrimType + { + NotPrimitive = 255, + Box = 0, + Cylinder = 1, + Prism = 2, + Sphere = 3, + Torus = 4, + Tube = 5, + Ring = 6, + Sculpt = 7 + } + + public interface IObjectShape + { + UUID SculptMap { get; set; } + SculptType SculptType { get; set; } + + HoleShape HoleType { get; set; } + Double HoleSize { get; set; } + PrimType PrimType { get; set; } + + } +} \ No newline at end of file -- cgit v1.1