diff options
| author | William Taylor | 2017-09-16 21:06:58 -0700 |
|---|---|---|
| committer | William Taylor | 2017-09-16 21:55:23 -0700 |
| commit | d2419c840e221c6bf6d7b493f26db861f591d5c6 (patch) | |
| tree | cda522269394d431cebafc328916c70e2d69e187 /doc/classes/LineShape2D.xml | |
| parent | d8ca7d44059472344a7e14346feae8e478486d3c (diff) | |
| download | godot-d2419c840e221c6bf6d7b493f26db861f591d5c6.tar.gz godot-d2419c840e221c6bf6d7b493f26db861f591d5c6.tar.zst godot-d2419c840e221c6bf6d7b493f26db861f591d5c6.zip | |
[DOCS] added member descriptions to various shapes
Diffstat (limited to 'doc/classes/LineShape2D.xml')
| -rw-r--r-- | doc/classes/LineShape2D.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/LineShape2D.xml b/doc/classes/LineShape2D.xml index 3346c46a1..5596c4816 100644 --- a/doc/classes/LineShape2D.xml +++ b/doc/classes/LineShape2D.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="LineShape2D" inherits="Shape2D" category="Core" version="3.0.alpha.custom_build"> <brief_description> - Line shape for 2D collision objects. + Line shape for 2D collisions. </brief_description> <description> - Line shape for 2D collision objects. It works like a 2D plane and will not allow any body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame. + Line shape for 2D collisions. It works like a 2D plane and will not allow any body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame. </description> <tutorials> </tutorials> @@ -46,8 +46,10 @@ </methods> <members> <member name="d" type="float" setter="set_d" getter="get_d"> + The line's distance from the origin. </member> <member name="normal" type="Vector2" setter="set_normal" getter="get_normal"> + The line's normal. </member> </members> <constants> |
