Exemplo n.º 1
0
 public virtual void getActors(SWIGTYPE_p_p_physx__PxRigidActor actor0, SWIGTYPE_p_p_physx__PxRigidActor actor1)
 {
     physxPINVOKE.PxConstraint_getActors(swigCPtr, SWIGTYPE_p_p_physx__PxRigidActor.getCPtr(actor0), SWIGTYPE_p_p_physx__PxRigidActor.getCPtr(actor1));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public virtual SWIGTYPE_p_physx__PxPruningStructure createPruningStructure(SWIGTYPE_p_p_physx__PxRigidActor actors, SWIGTYPE_p_uint32_t nbActors)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createPruningStructure(swigCPtr, SWIGTYPE_p_p_physx__PxRigidActor.getCPtr(actors), SWIGTYPE_p_uint32_t.getCPtr(nbActors));
            SWIGTYPE_p_physx__PxPruningStructure ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_physx__PxPruningStructure(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_physx__PxRigidActor obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }