Example #1
0
        public virtual bool updatePvdProperties(SWIGTYPE_p_physx__pvdsdk__PvdDataStream pvdConnection, PxConstraint c, PxPvdUpdateType.Enum updateType)
        {
            bool ret = physxPINVOKE.PxConstraintConnector_updatePvdProperties(swigCPtr, SWIGTYPE_p_physx__pvdsdk__PvdDataStream.getCPtr(pvdConnection), PxConstraint.getCPtr(c), (int)updateType);

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