public virtual SWIGTYPE_p_uint32_t getHeightFields(SWIGTYPE_p_p_physx__PxHeightField userBuffer, SWIGTYPE_p_uint32_t bufferSize) { SWIGTYPE_p_uint32_t ret = new SWIGTYPE_p_uint32_t(physxPINVOKE.PxPhysics_getHeightFields__SWIG_1(swigCPtr, SWIGTYPE_p_p_physx__PxHeightField.getCPtr(userBuffer), SWIGTYPE_p_uint32_t.getCPtr(bufferSize)), true); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_physx__PxHeightField obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }