IrrAddMeshToScene

section index

## NAME

IrrAddMeshToScene - Add a loaded Mesh to the Irrlicht SceneManager

## SYNOPSIS

*SceneNode.l = IrrAddMeshToScene(*mesh.l)

## FUNCTION

Wifth this function you can add a previoulsy loaded Mesh (see IrrGetMesh() ) into the Irrlicht-Scene. You can then Use the Node-Functions to set Position, rotation and Scale.*

## INPUTS

*mesh.l | - | pointer to a loaded/catched or created Mesh.

## RESULT

Pointer to a SceneNode

## EXAMPLE

       *mesh.l = IrrGetMesh("MyOwnMesh.dmf")
       If *mesh = #Null
           *node.l = IrrAddMeshToScene(*mesh.l)
       EndIf