Axiom.Math.Collections.Vector3List.AddRange C# (CSharp) Method

AddRange() public method

Adds the elements of another Vector3List to the current Vector3List.
public AddRange ( Vector3List x ) : int
x Vector3List The Vector3List whose elements should be added to the end of the current Vector3List.
return int
        public virtual int AddRange( Vector3List x )
        {
            if ( m_count + x.Count >= m_array.Length )
                EnsureCapacity( m_count + x.Count );

            Array.Copy( x.m_array, 0, m_array, m_count, x.Count );
            m_count += x.Count;
            m_version++;

            return m_count;
        }

Same methods

Vector3List::AddRange ( Vector3 x ) : int

Usage Example

 public override int AddRange(Vector3List x)
 {
     lock (this.m_root)
         return(m_collection.AddRange(x));
 }