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

Add() public method

Adds a Vector3 to the end of the Vector3List.
public Add ( Vector3 item ) : int
item Vector3 The to be added to the end of the Vector3List.
return int
        public virtual int Add( Vector3 item )
        {
            if ( m_count == m_array.Length )
                EnsureCapacity( m_count + 1 );

            m_array[ m_count ] = item;
            m_version++;

            return m_count++;
        }

Usage Example

 public override int Add(Vector3 x)
 {
     lock (this.m_root)
         return(m_collection.Add(x));
 }