public D3DMaterialVector GetRange(int index, int count) { global::System.IntPtr cPtr = IronSightEnginePINVOKE.D3DMaterialVector_GetRange(swigCPtr, index, count); D3DMaterialVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new D3DMaterialVector(cPtr, true); if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }