diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-18 20:56:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-18 20:56:38 +0200 |
commit | 3345c03122da633affda0e77763fe9829aa75344 (patch) | |
tree | 1319881dca739645f0465f43d16ffbe9152e602e | |
parent | c6507933a72f0f423ebe726bdd259b8d16d60c3c (diff) | |
parent | 44a20a0f610282cd4ecfd12437ab90c65f29e8d4 (diff) |
Merge pull request #29870 from Anutrix/docup1
Added description to is_pixel_opaque() in Sprite.xml
-rw-r--r-- | doc/classes/Sprite.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Sprite.xml b/doc/classes/Sprite.xml index 26ff67cc74..097a5f2ed2 100644 --- a/doc/classes/Sprite.xml +++ b/doc/classes/Sprite.xml @@ -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> |