public static AnArray operator +(AnArray a, AnArray b) { var n = new AnArray(a); n.AddRange(b); return(n); }
public static AnArray operator+(Quaternion q, AnArray a) { var b = new AnArray { q }; b.AddRange(a); return(b); }
public static AnArray operator +(Vector3 v, AnArray a) { var b = new AnArray { v }; b.AddRange(a); return(b); }
public void AddRange(AnArray src, int start, int length) { int srcLength = src.Count; int position = start; int count = length; if (start < 0 || start >= srcLength || start + length > srcLength || length < 0 || start + length < 0) { throw new IndexOutOfRangeException(); } while (count-- != 0) { Add(src[position++]); } }
public AnArray(AnArray v) : base(v) { }
public void Dispose() { m_Array = null; }
public MarkEnumerator(AnArray array) { m_Array = array; m_CurrentIndex = -1; }