SpineSkeletonTests SetLastOriginAndScale Method Delta Engine Documentation

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

public void SetLastOriginAndScale()
Examples

[Test, CloseAfterFirstFrame]
public void SetLastOriginAndScale()
{
    Assert.AreEqual(new Rectangle(Origin, Size.One), spineboy.LastOriginAndScale);
    spineboy.LastOriginAndScale = Rectangle.HalfCentered;
    Assert.AreEqual(Rectangle.HalfCentered, spineboy.LastOriginAndScale);
}
See Also