public virtual Result CreateCamera(float fov, float clipnear, float clipfar, SWIGTYPE_p_p_ICamera cam) { Result ret = new Result(IronSightEnginePINVOKE.IDirect3D_CreateCamera(swigCPtr, fov, clipnear, clipfar, SWIGTYPE_p_p_ICamera.getCPtr(cam)), true); // if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_ICamera obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }