Namespace: DeltaEngine.Rendering3D
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.GameLogic.Tests.ProjectileTests
1 unit tests call DeltaEngine.Rendering3D.HierarchyEntity3D.UpdateGlobalsFromParent(DeltaEngine.Entities.HierarchyObject3D)
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- parent
- Type: DeltaEngine.Entities HierarchyObject3D
Implements
HierarchyObject3D UpdateGlobalsFromParent(HierarchyObject3D)Remarks
Examples
[Test, CloseAfterFirstFrame] public void WithoutParentLocalEqualsGlobal() { projectile.UpdateGlobalsFromParent(null); projectile.RelativeOrientation = Quaternion.Identity; Assert.AreEqual(Quaternion.Identity, projectile.Orientation); Assert.AreEqual(projectile.RelativePosition, projectile.Position); }
See Also