Ejemplo n.º 1
0
        public virtual PxAggregate getAggregate()
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxActor_getAggregate(swigCPtr);
            PxAggregate           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PxAggregate(cPtr, false);

            return(ret);
        }
Ejemplo n.º 2
0
 public virtual void onObjectOutOfBounds(PxAggregate aggregate)
 {
     physxPINVOKE.PxBroadPhaseCallback_onObjectOutOfBounds__SWIG_1(swigCPtr, PxAggregate.getCPtr(aggregate));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
        public virtual PxAggregate createAggregate(SWIGTYPE_p_uint32_t maxSize, bool enableSelfCollision)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createAggregate(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(maxSize), enableSelfCollision);
            PxAggregate           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PxAggregate(cPtr, false);

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