export * from './Joint'; export * from './RigidBody'; export * from './World'; export * from './Box2DPhysicsPlugin'; export * from './interface'; export declare enum Box2DJointType { distance = "distance", gear = "gear", motor = "motor", mouse = "mouse", prismatic = "prismatic", pulley = "pulley", revolute = "revolute", weld = "weld", wheel = "wheel" } export declare enum Box2DShapeType { /** * 2D矩形碰撞体 */ rectangle = "rectangle", /** * 2D圆形碰撞体 */ circle = "circle", /** * 2D线形碰撞体 */ chain = "chain", /** * 2D边框碰撞体 */ edge = "edge", /** * 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 * 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不能小于3个 */ polygon = "polygon" }