Merge pull request #29870 from Anutrix/docup1

Added description to is_pixel_opaque() in Sprite.xml
This commit is contained in:
Rémi Verschelde 2019-06-18 20:56:38 +02:00 committed by GitHub
commit 3345c03122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,8 @@
<argument index="0" name="pos" type="Vector2">
</argument>
<description>
Returns [code]true[/code], if the pixel at the given position is opaque and [code]false[/code] in other case.
Note: It also returns [code]false[/code], if the sprite's texture is null or if the given position is invalid.
</description>
</method>
</methods>