SegmentShape2D
继承: Shape2D < Resource < RefCounted < Object
2D 线段形状,旨在用于物理学。
描述
2D 线段形状,旨在用于物理学。通常用于为 CollisionShape2D 提供形状。
属性
| ||
|
属性说明
Vector2 a = Vector2(0, 0)
该段的第一点的位置。
Vector2 b = Vector2(0, 10)
该段的第二个点的位置。
© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7
.
Built with Sphinx using a theme provided by Read the Docs.