diff options
author | Adam Frisby | 2009-04-01 11:03:42 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-01 11:03:42 +0000 |
commit | 1a25969096834e104d1ea69a26cab9c5b0a061eb (patch) | |
tree | 6cf11568dd739f7c6455cdf4e042232d59f132a6 /OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |
parent | * MRM Adjustments (diff) | |
download | opensim-SC_OLD-1a25969096834e104d1ea69a26cab9c5b0a061eb.zip opensim-SC_OLD-1a25969096834e104d1ea69a26cab9c5b0a061eb.tar.gz opensim-SC_OLD-1a25969096834e104d1ea69a26cab9c5b0a061eb.tar.bz2 opensim-SC_OLD-1a25969096834e104d1ea69a26cab9c5b0a061eb.tar.xz |
* MRM Adjustments
* Renamed 'Material' to PhysicsMaterial (Wood, Glass, Metal, etc.). May want to place in subclass with other physics specific properties. (We however need to support these features in ODE/etc first.)
* Renamed Faces to Materials. IObjectFace to IObjectMaterial - this is for clarity for those coming from a 3D Programming background (it also makes more sense if/when we support Meshes in core). Properties and members remain identical.
* Added XMLDoc comments to IObject to assist people writing MRMs in XMLDoc aware editors.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs index 538a496..8b7b470 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |||
@@ -80,12 +80,12 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
80 | get { return new SOPObject(m_rootScene, GetSOP().ParentGroup.RootPart.LocalId); } | 80 | get { return new SOPObject(m_rootScene, GetSOP().ParentGroup.RootPart.LocalId); } |
81 | } | 81 | } |
82 | 82 | ||
83 | public IObjectFace[] Faces | 83 | public IObjectMaterial[] Materials |
84 | { | 84 | { |
85 | get | 85 | get |
86 | { | 86 | { |
87 | SceneObjectPart sop = GetSOP(); | 87 | SceneObjectPart sop = GetSOP(); |
88 | IObjectFace[] rets = new IObjectFace[getNumberOfSides(sop)]; | 88 | IObjectMaterial[] rets = new IObjectMaterial[getNumberOfSides(sop)]; |
89 | 89 | ||
90 | for (int i = 0; i < rets.Length;i++ ) | 90 | for (int i = 0; i < rets.Length;i++ ) |
91 | { | 91 | { |
@@ -208,7 +208,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
208 | set { throw new System.NotImplementedException(); } | 208 | set { throw new System.NotImplementedException(); } |
209 | } | 209 | } |
210 | 210 | ||
211 | public Material Material | 211 | public PhysicsMaterial PhysicsMaterial |
212 | { | 212 | { |
213 | get { throw new System.NotImplementedException(); } | 213 | get { throw new System.NotImplementedException(); } |
214 | set { throw new System.NotImplementedException(); } | 214 | set { throw new System.NotImplementedException(); } |