コード例 #1
0
 public void setTargetVelocity(SWIGTYPE_p_uint32_t i, PxVec3 v)
 {
     physxPINVOKE.PxContactSet_setTargetVelocity(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(i), PxVec3.getCPtr(v));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: PxSpatialIndex.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void remove(SWIGTYPE_p_uint32_t id)
 {
     physxPINVOKE.PxSpatialIndex_remove(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(id));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
ファイル: PxSpatialIndex.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void update(SWIGTYPE_p_uint32_t id, PxBounds3 bounds)
 {
     physxPINVOKE.PxSpatialIndex_update(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(id), PxBounds3.getCPtr(bounds));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
ファイル: PxSpatialIndex.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void setIncrementalRebuildRate(SWIGTYPE_p_uint32_t rate)
 {
     physxPINVOKE.PxSpatialIndex_setIncrementalRebuildRate(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(rate));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
 public void ignore(SWIGTYPE_p_uint32_t i)
 {
     physxPINVOKE.PxContactSet_ignore(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(i));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
 public virtual void onComShift(SWIGTYPE_p_uint32_t actor)
 {
     physxPINVOKE.PxConstraintConnector_onComShift(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(actor));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #7
0
ファイル: PxArticulation.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void setSolverIterationCounts(SWIGTYPE_p_uint32_t minPositionIters)
 {
     physxPINVOKE.PxArticulation_setSolverIterationCounts__SWIG_1(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(minPositionIters));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
 public void setNormal(SWIGTYPE_p_uint32_t i, PxVec3 n)
 {
     physxPINVOKE.PxContactSet_setNormal(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(i), PxVec3.getCPtr(n));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #9
0
 public static void zeroMemory(SWIGTYPE_p_void vMemory, SWIGTYPE_p_uint32_t theSize)
 {
     otapiPINVOKE.OTPassword_zeroMemory__SWIG_2(SWIGTYPE_p_void.getCPtr(vMemory), SWIGTYPE_p_uint32_t.getCPtr(theSize));
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #10
0
ファイル: PxVolumeCache.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void processShapes(SWIGTYPE_p_uint32_t count, PxActorShape actorShapePairs)
 {
     physxPINVOKE.PxVolumeCache_Iterator_processShapes(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(count), PxActorShape.getCPtr(actorShapePairs));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #11
0
 public virtual void pairLost(SWIGTYPE_p_uint32_t pairID, SWIGTYPE_p_uint32_t attributes0, PxFilterData filterData0, SWIGTYPE_p_uint32_t attributes1, PxFilterData filterData1, bool objectRemoved)
 {
     physxPINVOKE.PxSimulationFilterCallback_pairLost(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(pairID), SWIGTYPE_p_uint32_t.getCPtr(attributes0), PxFilterData.getCPtr(filterData0), SWIGTYPE_p_uint32_t.getCPtr(attributes1), PxFilterData.getCPtr(filterData1), objectRemoved);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #12
0
ファイル: PxArticulation.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void setExternalDriveIterations(SWIGTYPE_p_uint32_t iterations)
 {
     physxPINVOKE.PxArticulation_setExternalDriveIterations(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(iterations));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #13
0
ファイル: PxRigidDynamic.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void getSolverIterationCounts(SWIGTYPE_p_uint32_t minPositionIters, SWIGTYPE_p_uint32_t minVelocityIters)
 {
     physxPINVOKE.PxRigidDynamic_getSolverIterationCounts(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(minPositionIters), SWIGTYPE_p_uint32_t.getCPtr(minVelocityIters));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #14
0
ファイル: PxVolumeCache.cs プロジェクト: kewur/PhysX-Sharp
 public virtual void setMaxNbDynamicShapes(SWIGTYPE_p_uint32_t maxCount)
 {
     physxPINVOKE.PxVolumeCache_setMaxNbDynamicShapes(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(maxCount));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #15
0
 public void setSeparation(SWIGTYPE_p_uint32_t i, float s)
 {
     physxPINVOKE.PxContactSet_setSeparation(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(i), s);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #16
0
ファイル: physx.cs プロジェクト: kewur/PhysX-Sharp
        public static bool PxFilterObjectIsTrigger(SWIGTYPE_p_uint32_t attr)
        {
            bool ret = physxPINVOKE.PxFilterObjectIsTrigger(SWIGTYPE_p_uint32_t.getCPtr(attr));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #17
0
        public float getExtents(SWIGTYPE_p_uint32_t axis)
        {
            float ret = physxPINVOKE.PxBounds3_getExtents__SWIG_0(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(axis));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #18
0
        public float getSeparation(SWIGTYPE_p_uint32_t i)
        {
            float ret = physxPINVOKE.PxContactSet_getSeparation(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(i));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #19
0
        public bool advanceToIndex(SWIGTYPE_p_uint32_t initialIndex)
        {
            bool ret = physxPINVOKE.PxContactStreamIterator_advanceToIndex(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(initialIndex));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #20
0
    public static bool randomizePassword(string szDestination, SWIGTYPE_p_uint32_t nNewSize)
    {
        bool ret = otapiPINVOKE.OTPassword_randomizePassword__SWIG_2(szDestination, SWIGTYPE_p_uint32_t.getCPtr(nNewSize));

        if (otapiPINVOKE.SWIGPendingException.Pending)
        {
            throw otapiPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #21
0
        public PxVec3 getNormal(SWIGTYPE_p_uint32_t i)
        {
            PxVec3 ret = new PxVec3(physxPINVOKE.PxContactSet_getNormal(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(i)), false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #22
0
ファイル: physx.cs プロジェクト: kewur/PhysX-Sharp
        public static PxPhysics PxCreatePhysics(SWIGTYPE_p_uint32_t version, SWIGTYPE_p_physx__PxFoundation foundation, PxTolerancesScale scale)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxCreatePhysics__SWIG_2(SWIGTYPE_p_uint32_t.getCPtr(version), SWIGTYPE_p_physx__PxFoundation.getCPtr(foundation), PxTolerancesScale.getCPtr(scale));
            PxPhysics             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PxPhysics(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #23
0
 public virtual void visualizeLine(PxVec3 p0, PxVec3 p1, SWIGTYPE_p_uint32_t color)
 {
     physxPINVOKE.PxConstraintVisualizer_visualizeLine(swigCPtr, PxVec3.getCPtr(p0), PxVec3.getCPtr(p1), SWIGTYPE_p_uint32_t.getCPtr(color));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #24
0
        public virtual bool statusChange(SWIGTYPE_p_uint32_t pairID, SWIGTYPE_p_physx__PxFlagsT_physx__PxPairFlag__Enum_uint16_t_t pairFlags, SWIGTYPE_p_physx__PxFlagsT_physx__PxFilterFlag__Enum_uint16_t_t filterFlags)
        {
            bool ret = physxPINVOKE.PxSimulationFilterCallback_statusChange(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(pairID), SWIGTYPE_p_physx__PxFlagsT_physx__PxPairFlag__Enum_uint16_t_t.getCPtr(pairFlags), SWIGTYPE_p_physx__PxFlagsT_physx__PxFilterFlag__Enum_uint16_t_t.getCPtr(filterFlags));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #25
0
        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);
        }
コード例 #26
0
 public PxFilterData(SWIGTYPE_p_uint32_t w0, SWIGTYPE_p_uint32_t w1, SWIGTYPE_p_uint32_t w2, SWIGTYPE_p_uint32_t w3) : this(physxPINVOKE.new_PxFilterData__SWIG_3(SWIGTYPE_p_uint32_t.getCPtr(w0), SWIGTYPE_p_uint32_t.getCPtr(w1), SWIGTYPE_p_uint32_t.getCPtr(w2), SWIGTYPE_p_uint32_t.getCPtr(w3)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #27
0
 public virtual void onAdvance(SWIGTYPE_p_p_physx__PxRigidBody bodyBuffer, PxTransform poseBuffer, SWIGTYPE_p_uint32_t count)
 {
     physxPINVOKE.PxSimulationEventCallback_onAdvance(swigCPtr, SWIGTYPE_p_p_physx__PxRigidBody.getCPtr(bodyBuffer), PxTransform.getCPtr(poseBuffer), SWIGTYPE_p_uint32_t.getCPtr(count));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #28
0
 public virtual void onTrigger(PxTriggerPair pairs, SWIGTYPE_p_uint32_t count)
 {
     physxPINVOKE.PxSimulationEventCallback_onTrigger(swigCPtr, PxTriggerPair.getCPtr(pairs), SWIGTYPE_p_uint32_t.getCPtr(count));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #29
0
 public virtual void onContact(PxContactPairHeader pairHeader, PxContactPair pairs, SWIGTYPE_p_uint32_t nbPairs)
 {
     physxPINVOKE.PxSimulationEventCallback_onContact(swigCPtr, PxContactPairHeader.getCPtr(pairHeader), PxContactPair.getCPtr(pairs), SWIGTYPE_p_uint32_t.getCPtr(nbPairs));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #30
0
 public virtual void onSleep(SWIGTYPE_p_p_physx__PxActor actors, SWIGTYPE_p_uint32_t count)
 {
     physxPINVOKE.PxSimulationEventCallback_onSleep(swigCPtr, SWIGTYPE_p_p_physx__PxActor.getCPtr(actors), SWIGTYPE_p_uint32_t.getCPtr(count));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }