mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Enable sorting of operator methods in class documentation.
This commit is contained in:
@@ -62,10 +62,13 @@
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator *">
|
||||
<return type="float" />
|
||||
<argument index="0" name="right" type="float" />
|
||||
<return type="Color" />
|
||||
<argument index="0" name="right" type="Color" />
|
||||
<description>
|
||||
Multiplies two [float]s.
|
||||
Multiplies each component of the [Color] by the given [float].
|
||||
[codeblock]
|
||||
print(1.5 * Color(0.5, 0.5, 0.5)) # Color(0.75, 0.75, 0.75)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator *">
|
||||
@@ -113,13 +116,10 @@
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator *">
|
||||
<return type="Color" />
|
||||
<argument index="0" name="right" type="Color" />
|
||||
<return type="float" />
|
||||
<argument index="0" name="right" type="float" />
|
||||
<description>
|
||||
Multiplies each component of the [Color] by the given [float].
|
||||
[codeblock]
|
||||
print(1.5 * Color(0.5, 0.5, 0.5)) # Color(0.75, 0.75, 0.75)
|
||||
[/codeblock]
|
||||
Multiplies two [float]s.
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator *">
|
||||
|
||||
Reference in New Issue
Block a user