Exemplo n.º 1
0
        public virtual PxScene getScene()
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxConstraint_getScene(swigCPtr);
            PxScene ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxScene(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
 public PxSceneWriteLock(PxScene scene, string file, SWIGTYPE_p_uint32_t line) : this(physxPINVOKE.new_PxSceneWriteLock__SWIG_0(PxScene.getCPtr(scene), file, SWIGTYPE_p_uint32_t.getCPtr(line)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public PxSceneWriteLock(PxScene scene) : this(physxPINVOKE.new_PxSceneWriteLock__SWIG_2(PxScene.getCPtr(scene)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
        public virtual PxScene createScene(PxSceneDesc sceneDesc)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createScene(swigCPtr, PxSceneDesc.getCPtr(sceneDesc));
            PxScene ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxScene(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
 public PxSceneReadLock(PxScene scene, string file) : this(physxPINVOKE.new_PxSceneReadLock__SWIG_1(PxScene.getCPtr(scene), file), true) {
   if (physxPINVOKE.SWIGPendingException.Pending) throw physxPINVOKE.SWIGPendingException.Retrieve();
 }