ActorTests CheckChangeScale Method Delta Engine Documentation

Namespace: DeltaEngine.GameLogic.Tests
Assembly: DeltaEngine.GameLogic.Tests (in DeltaEngine.GameLogic.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CheckChangeScale()
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