IrrAddPlaneSceneNode

section index

## NAME

IrrAddPlaneSceneNode - Add a Plane

## SYNOPSIS

*PlaneSceneNode.l = IrrAddPlaneSceneNode(name.s, sizeX.f, sizeY.f, tilesX.l, tilesY.l, texRepeatX.f, texRepeatY.f)

## FUNCTION

Adds a Plane to the scene. In fact it is a HillPlane, - but without hills....

## INPUTS

name.s | - | A Name for the Mesh
sizeX.f,sizeY.f | - | Size of a tile of the mesh. (10.0f, 10.0f) would be a good value to start, for example.
tilesX.l, tilesY.l | - | Specifies how much tiles there will be. If you specifiy for example that a tile has the size (10.0f, 10.0f) and the tileCount is (10,10), than you get a field of 100 tiles wich has the dimension 100.0fx100.0f.
texRepeatX.f,texRepeatY.f | - | Defines how often the texture will be repeated in x and y direction.

## RESULT

Pointer to a SceneNode

## EXAMPLE

        *plane_node.l = IrrAddPlaneSceneNode("MyPlane",10.0,10.0, 10.0,10.0,1.0,1.0)