summaryrefslogtreecommitdiff
path: root/doc/classes/Material.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-22 07:41:33 +0100
committerGitHub <noreply@github.com>2020-01-22 07:41:33 +0100
commitde543d18e84a422a1f76c9a65e0edd5e3e3cd0d7 (patch)
tree401208548a2a6d38583b2b7a6ecd1fa195ff4b22 /doc/classes/Material.xml
parent2ee15f650ece181074c5d9758cf56db37bfdee73 (diff)
parentf2ece824803a521775a64232b524e980c5124323 (diff)
Merge pull request #35389 from clayjohn/DOCS-materials
Finish up docs for materials
Diffstat (limited to 'doc/classes/Material.xml')
-rw-r--r--doc/classes/Material.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/Material.xml b/doc/classes/Material.xml
index f584c5207a..7a620ead3b 100644
--- a/doc/classes/Material.xml
+++ b/doc/classes/Material.xml
@@ -12,8 +12,12 @@
</methods>
<members>
<member name="next_pass" type="Material" setter="set_next_pass" getter="get_next_pass">
+ Sets the [Material] to be used for the next pass. This renders the object again using a different material.
+ [b]Note:[/b] only applies to [SpatialMaterial]s and [ShaderMaterial]s with type "Spatial".
</member>
<member name="render_priority" type="int" setter="set_render_priority" getter="get_render_priority" default="0">
+ Sets the render priority for transparent objects in 3D scenes. Higher priority objects will be sorted in front of lower priority objects.
+ [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 sorted based on depth, while transparent objects are sorted from back to front (subject to priority).
</member>
</members>
<constants>