IrrAddWaterSceneNode

section index

## NAME

IrrAddWaterSceneNode - Add a WaterSceneNode

## SYNOPSIS

*WaterSceneNode.l = IrrAddWaterSceneNode(*mesh.l, [waveHeight.f, waveSpeed.f, waveLength.f])

## FUNCTION

Adds a scene node for rendering a animated water surface mesh. Looks really good when the Material type #IRR_EMT_TRANSPARENT_REFLECTION is used

## INPUTS

*mesh.l | - | Pointer to the loaded static mesh to be displayed with water waves on it.
waveHeight.f | - | Height of the water waves
waveSpeed.f | - | Speed of the water waves
waveLength.f | - | Lemgth of the water waves

## RESULT

Pointer to a SceneNode

## EXAMPLE

        *water_node.l = IrrAddWaterSceneNode(*mesh.l)