Merge pull request #88593 from dustdfg/patch-1
Clarify that `is_pixel_opaque` function gets position in local coordinates
This commit is contained in:
commit
9a58d1a977
@ -44,7 +44,7 @@
|
|||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="pos" type="Vector2" />
|
<param index="0" name="pos" type="Vector2" />
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code], if the pixel at the given position is opaque and [code]false[/code] in other case.
|
Returns [code]true[/code], if the pixel at the given position is opaque and [code]false[/code] in other case. The position is in local coordinates.
|
||||||
[b]Note:[/b] It also returns [code]false[/code], if the sprite's texture is [code]null[/code] or if the given position is invalid.
|
[b]Note:[/b] It also returns [code]false[/code], if the sprite's texture is [code]null[/code] or if the given position is invalid.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
Loading…
Reference in New Issue
Block a user