public virtual Result CreateCollisionCapsule(float radius, SWIGTYPE_p_LPREGULARENTITY entity) { Result ret = new Result(IronSightEnginePINVOKE.IObject_CreateCollisionCapsule(swigCPtr, radius, SWIGTYPE_p_LPREGULARENTITY.getCPtr(entity)), true); // if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_LPREGULARENTITY obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }