summaryrefslogtreecommitdiffstats
path: root/doc/classes/BaseMaterial3D.xml
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2023-03-21 15:48:51 +0800
committerRindbee <idleman@yeah.net>2023-03-21 19:10:48 +0800
commitf29a7c040414aae6ff95d1810fbb041f4dc319b9 (patch)
tree31f0d4b0d8b845dbc1a2f6231789e9edbfa21a6c /doc/classes/BaseMaterial3D.xml
parenta008a06fcb3a65d5fc3694d3cb215bfb60397fe6 (diff)
downloadredot-engine-f29a7c040414aae6ff95d1810fbb041f4dc319b9.tar.gz
Fix some wrong descriptions in the docs
Diffstat (limited to 'doc/classes/BaseMaterial3D.xml')
-rw-r--r--doc/classes/BaseMaterial3D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/BaseMaterial3D.xml b/doc/classes/BaseMaterial3D.xml
index 6f361d6af9..989c76d5da 100644
--- a/doc/classes/BaseMaterial3D.xml
+++ b/doc/classes/BaseMaterial3D.xml
@@ -390,7 +390,7 @@
Repeat flags for the texture. See [enum TextureFilter] for options.
</member>
<member name="transparency" type="int" setter="set_transparency" getter="get_transparency" enum="BaseMaterial3D.Transparency" default="0">
- If [code]true[/code], transparency is enabled on the body. Some transparency modes will disable shadow casting. Any transparency mode other than Disabled has a greater performance impact compared to opaque rendering. See also [member blend_mode].
+ The material's transparency mode. Some transparency modes will disable shadow casting. Any transparency mode other than [constant TRANSPARENCY_DISABLED] has a greater performance impact compared to opaque rendering. See also [member blend_mode].
</member>
<member name="use_particle_trails" type="bool" setter="set_flag" getter="get_flag" default="false">
If [code]true[/code], enables parts of the shader required for [GPUParticles3D] trails to function. This also requires using a mesh with appropriate skinning, such as [RibbonTrailMesh] or [TubeTrailMesh]. Enabling this feature outside of materials used in [GPUParticles3D] meshes will break material rendering.