SpineSkeleton LastOriginAndScale Property Delta Engine Documentation

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

public Rectangle LastOriginAndScale { get; set; }

Property Value

Type: Rectangle
Remarks

Tests: DeltaEngine.Rendering2D.Spine.Tests.SpineSkeletonTests
Examples

1 unit tests call DeltaEngine.Rendering2D.Spine.SpineSkeleton.LastOriginAndScale
[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