AoMEngineLibrary.Graphics.Grn.Nodes.GrnAnimationTransformTrackKeysNode.GetWriteDataLength C# (CSharp) Method

GetWriteDataLength() public method

public GetWriteDataLength ( ) : int
return int
        public override int GetWriteDataLength()
        {
            int length = 52; // 4 * 13

            length += this.PositionKeys.Count * 4;
            length += this.RotationKeys.Count * 4;
            length += this.ScaleKeys.Count * 4;

            length += this.Positions.Count * 12;
            length += this.Rotations.Count * 16;
            length += this.Scales.Count * 36;

            return length;
        }