Actor ScaleFactor Property Delta Engine Documentation

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

float ScaleFactor { get; set; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.GameLogic.Tests.ActorTests
Examples

1 unit tests call DeltaEngine.GameLogic.Actor.ScaleFactor
[Test]
public void CheckChangeScaleFactor()
{
    var actor = new MockActor(Vector3D.One, 1.0f);
    actor.ScaleFactor = 2;
    Assert.AreEqual(2, actor.ScaleFactor);
}
See Also