feat: updated engine
This commit is contained in:
parent
cbe99774ff
commit
f4cf6b3999
6607 changed files with 910135 additions and 430025 deletions
|
|
@ -65,14 +65,14 @@
|
|||
<return type="bool" />
|
||||
<param index="0" name="from" type="float" />
|
||||
<description>
|
||||
Cast a [float] value to a boolean value. Returns [code]false[/code] if [param from] is equal to [code]0.0[/code] (including [code]-0.0[/code]), and [code]true[/code] for all other values (including [constant @GDScript.INF] and [constant @GDScript.NAN]).
|
||||
Casts a [float] value to a [bool]. Returns [code]false[/code] if [param from] is equal to [code]0.0[/code] (including [code]-0.0[/code]), and [code]true[/code] for all other values (including [constant @GDScript.INF] and [constant @GDScript.NAN]).
|
||||
</description>
|
||||
</constructor>
|
||||
<constructor name="bool">
|
||||
<return type="bool" />
|
||||
<param index="0" name="from" type="int" />
|
||||
<description>
|
||||
Cast an [int] value to a boolean value. Returns [code]false[/code] if [param from] is equal to [code]0[/code], and [code]true[/code] for all other values.
|
||||
Casts an [int] value to a [bool]. Returns [code]false[/code] if [param from] is equal to [code]0[/code], and [code]true[/code] for all other values.
|
||||
</description>
|
||||
</constructor>
|
||||
</constructors>
|
||||
|
|
@ -81,28 +81,42 @@
|
|||
<return type="bool" />
|
||||
<param index="0" name="right" type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the two booleans are not equal. That is, one is [code]true[/code] and the other is [code]false[/code]. This operation can be seen as a logical XOR.
|
||||
Returns [code]true[/code] if one [bool] is [code]true[/code] and the other [bool] is [code]false[/code]. Equivalent to logical XOR (NEQ).
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator <">
|
||||
<return type="bool" />
|
||||
<param index="0" name="right" type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the left operand is [code]false[/code] and the right operand is [code]true[/code].
|
||||
Returns [code]true[/code] if the left [bool] is [code]false[/code] and [param right] is [code]true[/code].
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator <=">
|
||||
<return type="bool" />
|
||||
<param index="0" name="right" type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the left [bool] is [code]false[/code], or if both [bool]s are [code]true[/code].
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator ==">
|
||||
<return type="bool" />
|
||||
<param index="0" name="right" type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the two booleans are equal. That is, both are [code]true[/code] or both are [code]false[/code]. This operation can be seen as a logical EQ or XNOR.
|
||||
Returns [code]true[/code] if both [bool]s are [code]true[/code], or if both [bool]s are [code]false[/code]. Equivalent to logical XNOR (EQ).
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator >">
|
||||
<return type="bool" />
|
||||
<param index="0" name="right" type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the left operand is [code]true[/code] and the right operand is [code]false[/code].
|
||||
Returns [code]true[/code] if the left [bool] is [code]true[/code] and [param right] is [code]false[/code].
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator >=">
|
||||
<return type="bool" />
|
||||
<param index="0" name="right" type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the left [bool] is [code]true[/code], or if both [bool]s are [code]false[/code].
|
||||
</description>
|
||||
</operator>
|
||||
</operators>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue