Function _IrrGetFont

au3Irr2

au3Irr2 Function Reference

_IrrGetFont

Loads a bitmap containing a bitmap font.

#Include <au3Irrlicht2.au3>
_IrrGetFont($s_Font)

 

Parameters

$s_Font Filename of the bitmap font file

 

Return Value

Success: Handle of the irrlicht font texture object
Failure: False

 

Remarks

None

 

Related

_Irr2DFontDraw

 

Example


#include "au3Irrlicht2.au3"
_IrrStart()
local $bitmapFont = _IrrGetFont ( "./media/fonthaettenschweiler.bmp" )

WHILE _IrrRunning()
    _IrrBeginScene( 0,0,0 )
    _Irr2DFontDraw ( $BitmapFont, "@! Example Text with 'German Umlauts': ÄäÖöÜü !@", 120, 80, 250, 96 )
    _IrrEndScene()
WEND

_IrrStop()