aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/Object/IObjectShape.cs
blob: 0018b2a65947154203842d637cbbda09f753e973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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; }

    }
}