Sprite.isPixelOpaque

Returns true, if the pixel at the given position is opaque and false in other case. Note: It also returns false, if the sprite's texture is null or if the given position is invalid.

struct Sprite
@nogc nothrow const
bool
isPixelOpaque
(
in Vector2 pos
)

Meta