Sharpex2D.Rendering.Keyframe.Keyframe C# (CSharp) Method

Keyframe() public method

Initializes a new Keyframe class.
public Keyframe ( Rectangle displayRectangle, float duration ) : Sharpex2D.Math
displayRectangle Sharpex2D.Math.Rectangle The DisplayRectangle.
duration float The Duration.
return Sharpex2D.Math
        public Keyframe(Rectangle displayRectangle, float duration)
        {
            DisplayRectangle = displayRectangle;
            Duration = duration;
        }
Keyframe