Beispiel #1
0
 public virtual void visualizeAngularLimit(PxTransform t0, float lower, float upper, bool active)
 {
     physxPINVOKE.PxConstraintVisualizer_visualizeAngularLimit(swigCPtr, PxTransform.getCPtr(t0), lower, upper, active);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public virtual void visualizeDoubleCone(PxTransform t, float angle, bool active)
 {
     physxPINVOKE.PxConstraintVisualizer_visualizeDoubleCone(swigCPtr, PxTransform.getCPtr(t), angle, active);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 public virtual void visualizeLimitCone(PxTransform t, float ySwing, float zSwing, bool active)
 {
     physxPINVOKE.PxConstraintVisualizer_visualizeLimitCone(swigCPtr, PxTransform.getCPtr(t), ySwing, zSwing, active);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public virtual void visualizeJointFrames(PxTransform parent, PxTransform child)
 {
     physxPINVOKE.PxConstraintVisualizer_visualizeJointFrames(swigCPtr, PxTransform.getCPtr(parent), PxTransform.getCPtr(child));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
 public virtual void visualizeLinearLimit(PxTransform t0, PxTransform t1, float value, bool active)
 {
     physxPINVOKE.PxConstraintVisualizer_visualizeLinearLimit(swigCPtr, PxTransform.getCPtr(t0), PxTransform.getCPtr(t1), value, active);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #6
0
 public virtual void setLocalPose(PxTransform pose)
 {
     physxPINVOKE.PxShape_setLocalPose(swigCPtr, PxTransform.getCPtr(pose));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void setChildPose(PxTransform pose)
 {
     physxPINVOKE.PxArticulationJoint_setChildPose(swigCPtr, PxTransform.getCPtr(pose));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #8
0
 public virtual void setGlobalPose(PxTransform pose)
 {
     physxPINVOKE.PxRigidActor_setGlobalPose__SWIG_1(swigCPtr, PxTransform.getCPtr(pose));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #9
0
 public virtual void setKinematicTarget(PxTransform destination)
 {
     physxPINVOKE.PxRigidDynamic_setKinematicTarget(swigCPtr, PxTransform.getCPtr(destination));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #10
0
        public static PxBounds3 poseExtent(PxTransform pose, PxVec3 extent)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_poseExtent(PxTransform.getCPtr(pose), PxVec3.getCPtr(extent)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #11
0
        public virtual bool getKinematicTarget(PxTransform target)
        {
            bool ret = physxPINVOKE.PxRigidDynamic_getKinematicTarget(swigCPtr, PxTransform.getCPtr(target));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #12
0
        public static PxPlane PxPlaneEquationFromTransform(PxTransform transform)
        {
            PxPlane ret = new PxPlane(physxPINVOKE.PxPlaneEquationFromTransform(PxTransform.getCPtr(transform)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #13
0
        public static PxBounds3 transformFast(PxTransform transform, PxBounds3 bounds)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_transformFast__SWIG_1(PxTransform.getCPtr(transform), PxBounds3.getCPtr(bounds)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #14
0
 public virtual void sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance)
 {
     physxPINVOKE.PxBatchQuery_sweep__SWIG_6(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), PxVec3.getCPtr(unitDir), distance);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #15
0
        public virtual bool sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxSweepHit_t hitCall)
        {
            bool ret = physxPINVOKE.PxVolumeCache_sweep__SWIG_4(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), PxVec3.getCPtr(unitDir), distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxSweepHit_t.getCPtr(hitCall));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 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();
     }
 }
Beispiel #17
0
 public virtual void overlap(PxGeometry geometry, PxTransform pose)
 {
     physxPINVOKE.PxBatchQuery_overlap__SWIG_4(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #18
0
 public virtual void overlap(PxGeometry geometry, PxTransform pose, SWIGTYPE_p_uint16_t maxTouchHits)
 {
     physxPINVOKE.PxBatchQuery_overlap__SWIG_3(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), SWIGTYPE_p_uint16_t.getCPtr(maxTouchHits));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #19
0
 public virtual void overlap(PxGeometry geometry, PxTransform pose, SWIGTYPE_p_uint16_t maxTouchHits, PxQueryFilterData filterData, SWIGTYPE_p_void userData, PxQueryCache cache)
 {
     physxPINVOKE.PxBatchQuery_overlap__SWIG_0(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), SWIGTYPE_p_uint16_t.getCPtr(maxTouchHits), PxQueryFilterData.getCPtr(filterData), SWIGTYPE_p_void.getCPtr(userData), PxQueryCache.getCPtr(cache));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #20
0
 public virtual PxVolumeCache.FillStatus fill(PxGeometry cacheVolume, PxTransform pose)
 {
     PxVolumeCache.FillStatus ret = (PxVolumeCache.FillStatus)physxPINVOKE.PxVolumeCache_fill(swigCPtr, PxGeometry.getCPtr(cacheVolume), PxTransform.getCPtr(pose));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Beispiel #21
0
        public virtual bool overlap(PxGeometry geometry, PxTransform pose, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxOverlapHit_t hitCall)
        {
            bool ret = physxPINVOKE.PxVolumeCache_overlap__SWIG_2(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), SWIGTYPE_p_physx__PxHitCallbackT_physx__PxOverlapHit_t.getCPtr(hitCall));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #22
0
        public virtual bool getCacheVolume(PxGeometryHolder resultVolume, PxTransform resultPose)
        {
            bool ret = physxPINVOKE.PxVolumeCache_getCacheVolume(swigCPtr, PxGeometryHolder.getCPtr(resultVolume), PxTransform.getCPtr(resultPose));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #23
0
        public virtual bool sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxSweepHit_t hitCall, SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t hitFlags, PxQueryFilterData filterData)
        {
            bool ret = physxPINVOKE.PxVolumeCache_sweep__SWIG_2(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), PxVec3.getCPtr(unitDir), distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxSweepHit_t.getCPtr(hitCall), SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t.getCPtr(hitFlags), PxQueryFilterData.getCPtr(filterData));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #24
0
        public virtual PxRigidDynamic createRigidDynamic(PxTransform pose)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createRigidDynamic(swigCPtr, PxTransform.getCPtr(pose));
            PxRigidDynamic        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PxRigidDynamic(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #25
0
        public PxTransform transformInv(PxTransform src)
        {
            PxTransform ret = new PxTransform(physxPINVOKE.PxTransform_transformInv__SWIG_1(swigCPtr, PxTransform.getCPtr(src)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #26
0
 public virtual void sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, SWIGTYPE_p_uint16_t maxTouchHits, SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t hitFlags, PxQueryFilterData filterData, SWIGTYPE_p_void userData, PxQueryCache cache, float inflation)
 {
     physxPINVOKE.PxBatchQuery_sweep__SWIG_0(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), PxVec3.getCPtr(unitDir), distance, SWIGTYPE_p_uint16_t.getCPtr(maxTouchHits), SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t.getCPtr(hitFlags), PxQueryFilterData.getCPtr(filterData), SWIGTYPE_p_void.getCPtr(userData), PxQueryCache.getCPtr(cache), inflation);
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #27
0
        public virtual SWIGTYPE_p_physx__PxCloth createCloth(PxTransform globalPose, PxClothFabric fabric, PxClothParticle particles, SWIGTYPE_p_physx__PxFlagsT_physx__PxClothFlag__Enum_uint16_t_t flags)
        {
            global::System.IntPtr     cPtr = physxPINVOKE.PxPhysics_createCloth(swigCPtr, PxTransform.getCPtr(globalPose), PxClothFabric.getCPtr(fabric), PxClothParticle.getCPtr(particles), SWIGTYPE_p_physx__PxFlagsT_physx__PxClothFlag__Enum_uint16_t_t.getCPtr(flags));
            SWIGTYPE_p_physx__PxCloth ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_physx__PxCloth(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #28
0
 public virtual void sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, SWIGTYPE_p_uint16_t maxTouchHits, SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t hitFlags)
 {
     physxPINVOKE.PxBatchQuery_sweep__SWIG_4(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), PxVec3.getCPtr(unitDir), distance, SWIGTYPE_p_uint16_t.getCPtr(maxTouchHits), SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t.getCPtr(hitFlags));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #29
0
        public virtual PxArticulationLink createLink(PxArticulationLink parent, PxTransform pose)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxArticulation_createLink(swigCPtr, PxArticulationLink.getCPtr(parent), PxTransform.getCPtr(pose));
            PxArticulationLink    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PxArticulationLink(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }