29 using System.Reflection;
30 using NUnit.Framework;
32 using OpenSim.Framework;
33 using OpenSim.Region.Framework.Scenes;
34 using OpenSim.Tests.Common;
36 namespace OpenSim.
Region.Framework.Scenes.Tests
50 TestHelpers.InMethod();
56 g1.GroupResize(
new Vector3(2, 3, 4));
60 Assert.That(g1Post.RootPart.Scale.X, Is.EqualTo(2));
61 Assert.That(g1Post.RootPart.Scale.Y, Is.EqualTo(3));
62 Assert.That(g1Post.RootPart.Scale.Z, Is.EqualTo(4));
73 TestHelpers.InMethod();
77 UUID owner = UUID.Random();
79 g1.RootPart.Scale =
new Vector3(2, 3, 4);
80 g1.Parts[1].Scale =
new Vector3(5, 6, 7);
82 scene.AddSceneObject(g1);
86 g1Post.Parts[1].Resize(
new Vector3(8, 9, 10));
93 Assert.That(g1RootPart.Scale.X, Is.EqualTo(2));
94 Assert.That(g1RootPart.Scale.Y, Is.EqualTo(3));
95 Assert.That(g1RootPart.Scale.Z, Is.EqualTo(4));
97 Assert.That(g1ChildPart.Scale.X, Is.EqualTo(8));
98 Assert.That(g1ChildPart.Scale.Y, Is.EqualTo(9));
99 Assert.That(g1ChildPart.Scale.Z, Is.EqualTo(10));
A scene object group is conceptually an object in the scene. The object is constituted of SceneObject...
void TestResizeSceneObjectPart()
Test resizing an individual part in a scene object.
Helpers for setting up scenes.
void TestResizeSceneObject()
Test resizing an object
Basic scene object resize tests