diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-17 07:32:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 07:32:03 +0100 |
commit | d4766b2f6cab1f2e38ecfa7de3d0e68eb9139b8c (patch) | |
tree | b5943e9cc2b6c31e80a9531a9897e1677a052ebf /doc/classes | |
parent | 565aecf4202199452cd414d69dbf04dac80d97ce (diff) | |
parent | 6b52aa67b8d66fa690764cd0a40772f198250ce4 (diff) |
Merge pull request #58212 from Calinou/line2d-round-precision-add-property-hint
Add a property hint for the Line2D Round Precision property
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Line2D.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 41c9ea5df5..88574c0028 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -79,7 +79,8 @@ The points that form the lines. The line is drawn between every point set in this array. Points are interpreted as local vectors. </member> <member name="round_precision" type="int" setter="set_round_precision" getter="get_round_precision" default="8"> - The smoothness of the rounded joints and caps. This is only used if a cap or joint is set as round. + The smoothness of the rounded joints and caps. Higher values result in smoother corners, but are more demanding to render and update. This is only used if a cap or joint is set as round. + [b]Note:[/b] The default value is tuned for lines with the default [member width]. For thin lines, this value should be reduced to a number between [code]2[/code] and [code]4[/code] to improve performance. </member> <member name="sharp_limit" type="float" setter="set_sharp_limit" getter="get_sharp_limit" default="2.0"> The direction difference in radians between vector points. This value is only used if [member joint_mode] is set to [constant LINE_JOINT_SHARP]. |