flxSharp.flxSharp.FlxSprite.pixelOverlapPoint C# (CSharp) Méthode

pixelOverlapPoint() public méthode

Checks to see if a point in 2D world space overlaps this FlxSprite object's current displayed pixels. This check is ALWAYS made in screen space, and always takes scroll factors into account.
public pixelOverlapPoint ( FlxPoint point, uint mask = 0xFF, FlxCamera camera = null ) : bool
point FlxPoint The point in world space you want to check.
mask uint Used in the pixel hit test to determine what counts as solid.
camera FlxCamera Specify which game camera you want. If null getScreenXY() will just grab the first global camera.
Résultat bool
        public bool pixelOverlapPoint(FlxPoint point, uint mask = 0xFF, FlxCamera camera = null)
        {
            throw new NotImplementedException();

            /*
            if(Camera == null)
                Camera = FlxG.camera;
            getScreenXY(_point,Camera);
            _point.x = _point.x - offset.x;
            _point.y = _point.y - offset.y;
            _flashPoint.x = (Point.x - Camera.scroll.x) - _point.x;
            _flashPoint.y = (Point.y - Camera.scroll.y) - _point.y;
            return framePixels.hitTest(_flashPointZero,Mask,_flashPoint);
            */
        }