示例#1
0
        public virtual SWIGTYPE_p_uint32_t getConstraints(SWIGTYPE_p_p_physx__PxConstraint userBuffer, SWIGTYPE_p_uint32_t bufferSize)
        {
            SWIGTYPE_p_uint32_t ret = new SWIGTYPE_p_uint32_t(physxPINVOKE.PxRigidActor_getConstraints__SWIG_1(swigCPtr, SWIGTYPE_p_p_physx__PxConstraint.getCPtr(userBuffer), SWIGTYPE_p_uint32_t.getCPtr(bufferSize)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_physx__PxConstraint obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }