Function _IrrDisplayMouse

au3Irr2

au3Irr2 Function Reference

_IrrDisplayMouse

Hide or show the mouse pointer while it is within the Irrlicht display.

#Include <au3Irrlicht2.au3>
_IrrDisplayMouse($i_HideShow)

 

Parameters

$i_HideShow True shows and False hides the mouse pointer.

 

Return Value

Success: True
Failure: False

 

Remarks

There are two functions available to simply hide or show the mouse: IrrHideMouse and IrrShowMouse.

 

Related

_IrrShowMouse, _IrrHideMouse

 

Example


#include "au3Irrlicht2.au3"

_IrrStart()

local $camera = _IrrAddCamera(0,0,0, 0,0,0 )

local $time = TimerInit()
WHILE _IrrRunning()

    _IrrDisplayMouse( int(mod( (TimerDiff($time) / 1000), 2 )) )

    _IrrBeginScene(50, 50, 50)
    _IrrDrawScene()
    _IrrEndScene()
WEND

_IrrStop()