public btStridingMeshInterface getMeshInterface() { global::System.IntPtr cPtr = BulletPINVOKE.btConvexTriangleMeshShape_getMeshInterface__SWIG_0(swigCPtr); btStridingMeshInterface ret = (cPtr == global::System.IntPtr.Zero) ? null : new btStridingMeshInterface(cPtr, false); return(ret); }
public void refitPartial(btStridingMeshInterface triangles, btVector3 aabbMin, btVector3 aabbMax) { BulletPINVOKE.btOptimizedBvh_refitPartial(swigCPtr, btStridingMeshInterface.getCPtr(triangles), btVector3.getCPtr(aabbMin), btVector3.getCPtr(aabbMax)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public void build(btStridingMeshInterface triangles, bool useQuantizedAabbCompression, btVector3 bvhAabbMin, btVector3 bvhAabbMax) { BulletPINVOKE.btOptimizedBvh_build(swigCPtr, btStridingMeshInterface.getCPtr(triangles), useQuantizedAabbCompression, btVector3.getCPtr(bvhAabbMin), btVector3.getCPtr(bvhAabbMax)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public btConvexTriangleMeshShape(btStridingMeshInterface meshInterface) : this(BulletPINVOKE.new_btConvexTriangleMeshShape__SWIG_1(btStridingMeshInterface.getCPtr(meshInterface)), true) { }
public btConvexTriangleMeshShape(btStridingMeshInterface meshInterface, bool calcAabb) : this(BulletPINVOKE.new_btConvexTriangleMeshShape__SWIG_0(btStridingMeshInterface.getCPtr(meshInterface), calcAabb), true) { }
public btGImpactMeshShape(btStridingMeshInterface meshInterface) : base() { m_handle = BulletAPI_CreateBtGImpactMeshShape(meshInterface.Handle); }
virtual btGImpactMeshShape* createGimpactShape(btStridingMeshInterface* trimesh);
virtual btCollisionShape* createConvexTriangleMeshShape(btStridingMeshInterface* trimesh);
virtual btBvhTriangleMeshShape* createBvhTriangleMeshShape(btStridingMeshInterface* trimesh, btOptimizedBvh* bvh);
public void updateBvhNodes(btStridingMeshInterface meshInterface, int firstNode, int endNode, int index) { BulletPINVOKE.btOptimizedBvh_updateBvhNodes(swigCPtr, btStridingMeshInterface.getCPtr(meshInterface), firstNode, endNode, index); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btStridingMeshInterface obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }