diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-30 16:32:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-30 16:32:32 +0200 |
commit | 122fa74f6c64f3ff567510a2e04f8749b53e890a (patch) | |
tree | 3aa51e8e823b93a9641baf4710d8db0e52134152 /doc/classes/SpriteBase3D.xml | |
parent | 722e2d3526a8a030050973ecf02ed0235a453f84 (diff) | |
parent | 0a0e94d9962c01d73544c2b6a9dc3ab3ecf039ab (diff) |
Merge pull request #60650 from bruvzg/lbl_n_spr_z_order
Diffstat (limited to 'doc/classes/SpriteBase3D.xml')
-rw-r--r-- | doc/classes/SpriteBase3D.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/classes/SpriteBase3D.xml b/doc/classes/SpriteBase3D.xml index 9733fa3a26..41b02b6dc9 100644 --- a/doc/classes/SpriteBase3D.xml +++ b/doc/classes/SpriteBase3D.xml @@ -75,6 +75,11 @@ <member name="pixel_size" type="float" setter="set_pixel_size" getter="get_pixel_size" default="0.01"> The size of one pixel's width on the sprite to scale it in 3D. </member> + <member name="render_priority" type="int" setter="set_render_priority" getter="get_render_priority" default="0"> + Sets the render priority for the sprite. Higher priority objects will be sorted in front of lower priority objects. + [b]Node:[/b] This only applies if [member alpha_cut] is set to [constant ALPHA_CUT_DISABLED] (default value). + [b]Note:[/b] This only applies to sorting of transparent objects. This will not impact how transparent objects are sorted relative to opaque objects. This is because opaque objects are not sorted, while transparent objects are sorted from back to front (subject to priority). + </member> <member name="shaded" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="false"> If [code]true[/code], the [Light3D] in the [Environment] has effects on the sprite. </member> |