Merge pull request #61992 from Calinou/doc-curvetexture-3.x
This commit is contained in:
commit
a77192a5bc
3 changed files with 4 additions and 4 deletions
|
@ -12,10 +12,10 @@
|
|||
</methods>
|
||||
<members>
|
||||
<member name="curve" type="Curve" setter="set_curve" getter="get_curve">
|
||||
The [code]curve[/code] rendered onto the texture.
|
||||
The [Curve] that is rendered onto the texture.
|
||||
</member>
|
||||
<member name="width" type="int" setter="set_width" getter="get_width" default="2048">
|
||||
The width of the texture.
|
||||
The width of the texture (in pixels). Higher values make it possible to represent high-frequency data better (such as sudden direction changes), at the cost of increased generation time and memory usage.
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
Gradient-filled texture.
|
||||
</brief_description>
|
||||
<description>
|
||||
GradientTexture uses a [Gradient] to fill the texture data. The gradient will be filled from left to right using colors obtained from the gradient. This means the texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see [member width]).
|
||||
GradientTexture uses a [Gradient] to fill the texture data. The gradient will be filled from left to right using colors obtained from the gradient. This means the texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see [member width]). See also [GradientTexture2D] and [CurveTexture].
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
Gradient-filled 2D texture.
|
||||
</brief_description>
|
||||
<description>
|
||||
The texture uses a [Gradient] to fill the texture data in 2D space. The gradient is filled according to the specified [member fill] and [member repeat] types using colors obtained from the gradient. The texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see [member width] and [member height]).
|
||||
The texture uses a [Gradient] to fill the texture data in 2D space. The gradient is filled according to the specified [member fill] and [member repeat] types using colors obtained from the gradient. The texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see [member width] and [member height]). See also [GradientTexture] and [CurveTexture].
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
|
Loading…
Reference in a new issue