Function _IrrDraw2DImage

au3Irr2

au3Irr2 Function Reference

_IrrDraw2DImage

Draws the texture to the display at the supplied coordinates.

#Include <au3Irrlicht2.au3>
_IrrDraw2DImage($h_Image, $i_XPos, $i_YPos)

 

Parameters

$h_Image Handle to an irrlicht image object
$i_XPos X position on display from where drawing starts
$i_YPos Y position on display from where drawing starts

 

Return Value

Success: True
Failure: False

 

Remarks

None.

 

Related

_IrrGetTexture, _IrrDraw2DImageElement

 

Example


#include "au3Irrlicht2.au3"

_IrrStart()

local $logo = _IrrGetTexture("./media/cross.bmp")

WHILE _IrrRunning()
    _IrrBeginScene(50, 0, 0)
    _IrrDraw2DImage( $logo, 0, 0 )
    _IrrEndScene()
WEND

_IrrStop()