diff options
author | arkology <43543909+arkology@users.noreply.github.com> | 2024-11-04 17:23:03 +0300 |
---|---|---|
committer | arkology <43543909+arkology@users.noreply.github.com> | 2024-11-14 20:20:20 +0300 |
commit | d692b7bddeaacf93a06a08a516d8b61cf58085ce (patch) | |
tree | dc646e035adb702b83e367e06958dea662943f2c /doc/classes | |
parent | 0f5f3bc9546b46b2029fc8896dc859697f1eab97 (diff) | |
download | redot-engine-d692b7bddeaacf93a06a08a516d8b61cf58085ce.tar.gz |
Improve set_radial_initial_angle by removing loops
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TextureProgressBar.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/TextureProgressBar.xml b/doc/classes/TextureProgressBar.xml index d3e334ef55..c68b521da9 100644 --- a/doc/classes/TextureProgressBar.xml +++ b/doc/classes/TextureProgressBar.xml @@ -42,6 +42,7 @@ </member> <member name="radial_initial_angle" type="float" setter="set_radial_initial_angle" getter="get_radial_initial_angle" default="0.0"> Starting angle for the fill of [member texture_progress] if [member fill_mode] is [constant FILL_CLOCKWISE], [constant FILL_COUNTER_CLOCKWISE], or [constant FILL_CLOCKWISE_AND_COUNTER_CLOCKWISE]. When the node's [code]value[/code] is equal to its [code]min_value[/code], the texture doesn't show up at all. When the [code]value[/code] increases, the texture fills and tends towards [member radial_fill_degrees]. + [b]Note:[/b] [member radial_initial_angle] is wrapped between [code]0[/code] and [code]360[/code] degrees (inclusive). </member> <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" enum="Control.SizeFlags" is_bitfield="true" default="1" /> <member name="step" type="float" setter="set_step" getter="get_step" overrides="Range" default="1.0" /> |