Namespace: DeltaEngine.Tests.Entities
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void ChangePropertiesToObjectsWithChildren() { hierarchyObject3D.Position = new Vector3D(1.0f, 1.0f, 1.0f); Assert.AreEqual(Vector3D.One, hierarchyObject3D.Children[0].Position); hierarchyObject3D.Orientation = Quaternion.FromAxisAngle(Vector3D.UnitY, 180.0f); Assert.AreEqual(Vector3D.UnitY, hierarchyObject3D.Children[0].Orientation.Vector3D); }
See Also