Fetch the repository succeeded.
github_url: | hide |
---|
Inherits: :ref:`Shape2D<class_Shape2D>` < :ref:`Resource<class_Resource>` < :ref:`Reference<class_Reference>` < :ref:`Object<class_Object>`
Segment shape for 2D collisions.
Segment shape for 2D collisions. Consists of two points, a
and b
.
:ref:`Vector2<class_Vector2>` | :ref:`a<class_SegmentShape2D_property_a>` | Vector2( 0, 0 ) |
:ref:`Vector2<class_Vector2>` | :ref:`b<class_SegmentShape2D_property_b>` | Vector2( 0, 10 ) |
Default | Vector2( 0, 0 ) |
Setter | set_a(value) |
Getter | get_a() |
The segment's first point position.
Default | Vector2( 0, 10 ) |
Setter | set_b(value) |
Getter | get_b() |
The segment's second point position.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。