public PxHeightFieldGeometry(SWIGTYPE_p_physx__PxHeightField hf, SWIGTYPE_p_physx__PxFlagsT_physx__PxMeshGeometryFlag__Enum_uint8_t_t flags, float heightScale_, float rowScale_, float columnScale_) : this(physxPINVOKE.new_PxHeightFieldGeometry__SWIG_1(SWIGTYPE_p_physx__PxHeightField.getCPtr(hf), SWIGTYPE_p_physx__PxFlagsT_physx__PxMeshGeometryFlag__Enum_uint8_t_t.getCPtr(flags), heightScale_, rowScale_, columnScale_), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
        public virtual SWIGTYPE_p_physx__PxHeightField createHeightField(SWIGTYPE_p_physx__PxInputStream stream)
        {
            global::System.IntPtr           cPtr = physxPINVOKE.PxPhysics_createHeightField(swigCPtr, SWIGTYPE_p_physx__PxInputStream.getCPtr(stream));
            SWIGTYPE_p_physx__PxHeightField ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_physx__PxHeightField(cPtr, false);

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