IrrAddSkyBoxToScene

section index

## NAME

IrrAddSkyBoxToScene - Add a skybox to the irrlicht based on six pictures

## SYNOPSIS

*SkyBoxSceneNode.l = IrrAddSkyBoxToScene(*texture_up.l, *texture_down.l, *texture_left.l, *texture_right.l, * texture_front.l, *texture_back.l)

## FUNCTION

Adds a skybox scene node to the scene graph. A skybox is a big cube with 6 textures on it and is drawn around the camera position

## INPUTS

*texture_up.l | - | a pointer to loaded Texture ( IrrGetTexture() )
*texture_down.l | - | a pointer to loaded Texture ( IrrGetTexture() )
*texture_left.l | - | a pointer to loaded Texture ( IrrGetTexture() )
*texture_right.l | - | a pointer to loaded Texture ( IrrGetTexture() )
*texture_front.l | - | a pointer to loaded Texture ( IrrGetTexture() )
*texture_back.l | - | a pointer to loaded Texture ( IrrGetTexture() )

## RESULT

Pointer to a SceneNode

## EXAMPLE

        *sb_node.l = IrrAddSkyBoxToScene(*t1,*t2,*t3,*t4,*t5,*t6)