AnimationModels.KeyFrame.KeyFrame C# (CSharp) Method

KeyFrame() public method

public KeyFrame ( int rowCount, int columnCount, System.TimeSpan startTime, ITween tween ) : System
rowCount int
columnCount int
startTime System.TimeSpan
tween ITween
return System
        public KeyFrame(int rowCount, int columnCount, TimeSpan startTime, ITween tween)
        {
            this.grid = new List<List<Color>>();

            for (int row = 0; row < rowCount; row++)
            {
                this.grid.Add(new List<Color>());
                for (int col = 0; col < columnCount; col++)
                {
                    this.grid[row].Add(new Color());
                }
            }

            this.StartTime = startTime;
            this.Tween = tween;
        }

Same methods

KeyFrame::KeyFrame ( ) : System