au3Irr2 Function Reference
_IrrAddTestSceneNodeAdds a simple cube node to the scene
#Include <au3Irrlicht2.au3>
_IrrAddTestSceneNode()
Parameters
None. | |
Return Value
success: Handle of the cube scene nodefailure: False
Remarks
The test scene node is a cube with fixed dimensions mainly for test purposes.
Related
_IrrAddCubeSceneNode, _IrrAddSphereSceneNode
Example
#include "au3Irrlicht2.au3"
_IrrStart()
local $nodeCamera = _IrrAddCamera(10,10,10, 0,0,0 )
local $nodeTest = _IrrAddTestSceneNode()
_IrrSetNodeMaterialTexture( $nodeTest, _IrrGetTexture(".\media\au3irr2_logo.jpg"), 0)
_IrrSetNodeMaterialFlag( $nodeTest, $IRR_EMF_LIGHTING, $IRR_OFF )
WHILE _IrrRunning()
_IrrBeginScene(0, 0, 0)
_IrrDrawScene()
_IrrEndScene()
WEND
_IrrStop()