From ce4ab719576c27b2eeb2f783ebff2862d6b58f57 Mon Sep 17 00:00:00 2001 From: Rindbee Date: Tue, 21 Mar 2023 15:48:51 +0800 Subject: Fix some wrong descriptions in the docs (cherry picked from commit f29a7c040414aae6ff95d1810fbb041f4dc319b9) --- doc/classes/BaseMaterial3D.xml | 2 +- doc/classes/Control.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/classes/BaseMaterial3D.xml b/doc/classes/BaseMaterial3D.xml index 6cd8c44269..1d95152103 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. - 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]. 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. diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index f2ab6cb07e..83797f793b 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -399,7 +399,7 @@ - Returns the anchor for the specified [enum Side]. A getter method for [member offset_bottom], [member offset_left], [member offset_right] and [member offset_top]. + Returns the offset for the specified [enum Side]. A getter method for [member offset_bottom], [member offset_left], [member offset_right] and [member offset_top]. @@ -840,7 +840,7 @@ - Sets the anchor for the specified [enum Side] to the [Control] at [param neighbor] node path. A setter method for [member focus_neighbor_bottom], [member focus_neighbor_left], [member focus_neighbor_right] and [member focus_neighbor_top]. + Sets the focus neighbor for the specified [enum Side] to the [Control] at [param neighbor] node path. A setter method for [member focus_neighbor_bottom], [member focus_neighbor_left], [member focus_neighbor_right] and [member focus_neighbor_top]. -- cgit v1.2.3