Skip to content

Commit

Permalink
Merge pull request godotengine#99869 from arkology/3.x_radial-center-…
Browse files Browse the repository at this point in the history
…offset-bounds

[3.x] Document `radial_center_offset` bounds for `TextureProgress`
  • Loading branch information
lawnjelly authored Dec 15, 2024
2 parents 7fbb30e + fc4f401 commit cd92ad0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/TextureProgress.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
</member>
<member name="radial_center_offset" type="Vector2" setter="set_radial_center_offset" getter="get_radial_center_offset" default="Vector2( 0, 0 )">
Offsets [member texture_progress] if [member fill_mode] is [constant FILL_CLOCKWISE] or [constant FILL_COUNTER_CLOCKWISE].
[b]Note:[/b] The effective radial center always stays within the [member texture_progress] bounds. If you need to move it outside the texture's bounds, modify the [member texture_progress] to contain additional empty space where needed.
</member>
<member name="radial_fill_degrees" type="float" setter="set_fill_degrees" getter="get_fill_degrees" default="360.0">
Upper limit for the fill of [member texture_progress] if [member fill_mode] is [constant FILL_CLOCKWISE] or [constant FILL_COUNTER_CLOCKWISE]. When the node's [code]value[/code] is equal to its [code]max_value[/code], the texture fills up to this angle.
Expand Down

0 comments on commit cd92ad0

Please sign in to comment.