au3Irr2 Function Reference
_IrrRunningUsed to determine if the Irrlicht engine is still running.
#Include <au3Irrlicht2.au3>
_IrrRunning()
Parameters
None. | |
Return Value
True if running: False if not.Sets @error to true on failures.
Remarks
None
Related
_IrrStart, _IrrStartAdvanced, _IrrStop
Example
#include "au3Irrlicht2.au3"
_IrrStart( $IRR_EDT_OPENGL, 800, 600, $IRR_BITS_PER_PIXEL_32, _
$IRR_WINDOWED, $IRR_SHADOWS, $IRR_CAPTURE_EVENTS, $IRR_VERTICAL_SYNC_ON )
local $Camera = _IrrAddCamera(10,10,10, 0,0,0 )
local $testNode = _IrrAddTestSceneNode()
_IrrSetNodeMaterialTexture( $testNode, _IrrGetTexture(".\media\au3irr2_logo.jpg"), 0)
_IrrSetNodeMaterialFlag( $testNode, $IRR_EMF_LIGHTING, $IRR_OFF )
WHILE _IrrRunning()
_IrrBeginScene(0, 0, 0)
_IrrDrawScene()
_IrrEndScene()
WEND
_IrrStop()