namespace IrrlichtNetSwig
{
    public partial class arraySMD3TexCoord
    {
        public SMD3TexCoord this[uint index]
        {
            get
            {
                if (index < 0 || size() < index)
                {
                    throw new System.IndexOutOfRangeException();
                }
                return getValue(index);
            }
            set
            {
                if (index < 0 || size() < index)
                {
                    throw new System.IndexOutOfRangeException();
                }
                setValue(index, value);
            }
        }
        public static implicit operator arraySMD3TexCoord(SMD3TexCoord[] other)
        {
            var arr = new arraySMD3TexCoord((uint)other.Length);
            for (uint i = 0; i < other.Length; i++)
            {
                arr.push_back(other[i]);
            }
            return arr;
        }
        public SMD3TexCoord[] ToArray()
        {
            var arr = new SMD3TexCoord[size()];
            for (uint i = 0; i < size(); i++)
            {
                arr[i] = this.getValue(i);
            }
            return arr;
        }
    }
}