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

AddRange() public method

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

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

            return m_count;
        }

Same methods

Vector3List::AddRange ( Vector3List x ) : int

Usage Example

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