Пример #1
0
 public virtual void onObjectOutOfBounds(PxShape shape, PxActor actor)
 {
     physxPINVOKE.PxBroadPhaseCallback_onObjectOutOfBounds__SWIG_0(swigCPtr, PxShape.getCPtr(shape), PxActor.getCPtr(actor));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public virtual void detachShape(PxShape shape)
 {
     physxPINVOKE.PxRigidActor_detachShape__SWIG_1(swigCPtr, PxShape.getCPtr(shape));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public virtual void detachShape(PxShape shape, bool wakeOnLostTouch)
 {
     physxPINVOKE.PxRigidActor_detachShape__SWIG_0(swigCPtr, PxShape.getCPtr(shape), wakeOnLostTouch);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public virtual SWIGTYPE_p_physx__PxFlagsT_physx__PxFilterFlag__Enum_uint16_t_t pairFound(SWIGTYPE_p_uint32_t pairID, SWIGTYPE_p_uint32_t attributes0, PxFilterData filterData0, PxActor a0, PxShape s0, SWIGTYPE_p_uint32_t attributes1, PxFilterData filterData1, PxActor a1, PxShape s1, SWIGTYPE_p_physx__PxFlagsT_physx__PxPairFlag__Enum_uint16_t_t pairFlags)
        {
            SWIGTYPE_p_physx__PxFlagsT_physx__PxFilterFlag__Enum_uint16_t_t ret = new SWIGTYPE_p_physx__PxFlagsT_physx__PxFilterFlag__Enum_uint16_t_t(physxPINVOKE.PxSimulationFilterCallback_pairFound(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(pairID), SWIGTYPE_p_uint32_t.getCPtr(attributes0), PxFilterData.getCPtr(filterData0), PxActor.getCPtr(a0), PxShape.getCPtr(s0), SWIGTYPE_p_uint32_t.getCPtr(attributes1), PxFilterData.getCPtr(filterData1), PxActor.getCPtr(a1), PxShape.getCPtr(s1), SWIGTYPE_p_physx__PxFlagsT_physx__PxPairFlag__Enum_uint16_t_t.getCPtr(pairFlags)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
 public PxActorShape(PxRigidActor a, PxShape s) : this(physxPINVOKE.new_PxActorShape__SWIG_1(PxRigidActor.getCPtr(a), PxShape.getCPtr(s)), true)
 {
 }
Пример #6
0
 public PxQueryCache(PxShape s, SWIGTYPE_p_uint32_t findex) : this(physxPINVOKE.new_PxQueryCache__SWIG_1(PxShape.getCPtr(s), SWIGTYPE_p_uint32_t.getCPtr(findex)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #7
0
 public virtual PxQueryHitType.Enum preFilter(PxFilterData filterData, PxShape shape, PxRigidActor actor, SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t queryFlags)
 {
     PxQueryHitType.Enum ret = (PxQueryHitType.Enum)physxPINVOKE.PxQueryFilterCallback_preFilter(swigCPtr, PxFilterData.getCPtr(filterData), PxShape.getCPtr(shape), PxRigidActor.getCPtr(actor), SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t.getCPtr(queryFlags));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }