资源类型Shape2DSegmentShape2D本页总览SegmentShape2D继承Shape2D简要描述2D碰撞的线段形状。描述2D碰撞的线段形状。由a和b两点组成。成员类型属性名默认值Vector2aVector2( 0, 0 )Vector2bVector2( 0, 10 )成员说明Vector2 aDefaultVector2( 0, 0 )setterset_a(value)getterget_aVector2 bDefaultVector2( 0, 10 )setterset_b(value)getterget_b