예제 #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 bool removeActor(PxActor actor)
        {
            bool ret = physxPINVOKE.PxAggregate_removeActor(swigCPtr, PxActor.getCPtr(actor));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
예제 #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxActor obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }