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();
     }
 }
示例#2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_physx__PxFlagsT_physx__PxMeshGeometryFlag__Enum_uint8_t_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#3
0
 public PxTriangleMeshGeometry(SWIGTYPE_p_physx__PxTriangleMesh mesh, SWIGTYPE_p_PxMeshScale scaling, SWIGTYPE_p_physx__PxFlagsT_physx__PxMeshGeometryFlag__Enum_uint8_t_t flags) : this(physxPINVOKE.new_PxTriangleMeshGeometry__SWIG_1(SWIGTYPE_p_physx__PxTriangleMesh.getCPtr(mesh), SWIGTYPE_p_PxMeshScale.getCPtr(scaling), SWIGTYPE_p_physx__PxFlagsT_physx__PxMeshGeometryFlag__Enum_uint8_t_t.getCPtr(flags)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }