IrrImageGetPixel

section index

## NAME

IrrImageGetPixel - Returns a pixel

## SYNOPSIS

IrrImageGetPixel( *ptr2IrrlichtImage, X_Pos.l, Y_Pos.l )

## FUNCTION

Use this Function to get the Pixel Color at the specified position from an Irrlicht Image.

## INPUTS

*ptr2irrlichtImage | - | Pointer to an Irrlicht Image
X_Pos.l | - | X Position of the Pixel in the Irrlicht Image
Y_Pos.l | - | Y Position of the Pixel in the Irrlicht Image

## RESULT

Returns the color of a pixel at the specified Coordinates from an Irrlicht Image or returns -1 if the Image isn't valid.

## EXAMPLE

      - none yet

## NOTES

- none yet