Namespace: DeltaEngine.GameLogic
Assembly: DeltaEngine.GameLogic (in DeltaEngine.GameLogic.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.GameLogic.Tests.ActorTests
2 unit tests call DeltaEngine.GameLogic.Actor.Scale
Assembly: DeltaEngine.GameLogic (in DeltaEngine.GameLogic.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Vector3DRemarks
Examples
[Test] public void CheckChangeScale() { var actor = new MockActor(Vector3D.One, 1.0f); actor.ScaleChanged += () => { CheckScaleHasChanged(actor); }; actor.Scale = new Vector3D(2, 2, 2); }
[Test] public void CheckChangeScaleFactor() { var actor = new MockActor(Vector3D.One, 1.0f); actor.ScaleFactor = 2; Assert.AreEqual(2, actor.ScaleFactor); }
See Also