Function _IrrDebugDataVisible

au3Irr2

au3Irr2 Function Reference

_IrrDebugDataVisible

Displays debugging data around a node (typically the bounding box around edges of the node).

#Include <au3Irrlicht2.au3>
_IrrDebugDataVisible($h_Node, $i_Visible = $EDS_BBOX)

 

Parameters

$h_Node Handle of a scene node.
$i_Visible Type of debugging information (not all of them are supported on all node types):
$EDS_OFF: No Debugging
$EDS_BBOX: Bounding Box
$EDS_NORMALS: Normals
$EDS_SKELETON: Skeleton
$EDS_MESH_WIRE_OVERLAY: Wireframe
$EDS_HALF_TRANSPARENCY: Transparency
$EDS_BBOX_BUFFERS: Bounding Box Buffers
$EDS_FULL: Everything

 

Return Value

None.

 

Remarks

None.

 

Related

None.

 

Example



#include "au3Irrlicht2.au3"

_IrrStart()

local $camera = _IrrAddFPSCamera()
local $mesh = _IrrGetMesh( ".\media\capsuleX.obj" )
local $nodeTest = _IrrAddMeshToScene( $mesh )
_IrrSetNodeMaterialTexture( $nodeTest, _IrrGetTexture(".\media\au3irr2_logo.jpg"), 0)
_IrrSetNodeMaterialFlag( $nodeTest, $IRR_EMF_LIGHTING, $IRR_OFF )
_IrrSetNodePosition($nodeTest, 0, 0, 8 )

_IrrDebugDataVisible($nodeTest, $EDS_FULL )

WHILE _IrrRunning()
    _IrrBeginScene(0, 0, 50)
    _IrrDrawScene()
    _IrrEndScene()
WEND

_IrrStop()