public static D3DMaterialVector Repeat(D3DMaterial value, int count) { global::System.IntPtr cPtr = IronSightEnginePINVOKE.D3DMaterialVector_Repeat(D3DMaterial.getCPtr(value), count); D3DMaterialVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new D3DMaterialVector(cPtr, true); if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }