diff options
author | kobewi <kobewi4e@gmail.com> | 2021-03-09 22:24:02 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-09-01 14:39:08 +0200 |
commit | e78ee616f7a83d361e4901e2271684d1d8c0afa0 (patch) | |
tree | 2555a576945fcd3608728314cdd599b7b3082dd5 /doc/classes/TextureProgressBar.xml | |
parent | efc87481e45c66b3a18dfe1db82c3289fe2a370d (diff) |
Add offset for TextureProgress progress texture
Diffstat (limited to 'doc/classes/TextureProgressBar.xml')
-rw-r--r-- | doc/classes/TextureProgressBar.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/TextureProgressBar.xml b/doc/classes/TextureProgressBar.xml index 9da89ebe43..ee47557b39 100644 --- a/doc/classes/TextureProgressBar.xml +++ b/doc/classes/TextureProgressBar.xml @@ -60,6 +60,9 @@ [Texture2D] that clips based on the node's [code]value[/code] and [member fill_mode]. As [code]value[/code] increased, the texture fills up. It shows entirely when [code]value[/code] reaches [code]max_value[/code]. It doesn't show at all if [code]value[/code] is equal to [code]min_value[/code]. The [code]value[/code] property comes from [Range]. See [member Range.value], [member Range.min_value], [member Range.max_value]. </member> + <member name="texture_progress_offset" type="Vector2" setter="set_texture_progress_offset" getter="get_texture_progress_offset" default="Vector2(0, 0)"> + The offset of [member texture_progress]. Useful for [member texture_over] and [member texture_under] with fancy borders, to avoid transparent margins in your progress texture. + </member> <member name="texture_under" type="Texture2D" setter="set_under_texture" getter="get_under_texture"> [Texture2D] that draws under the progress bar. The bar's background. </member> |