IrrAddLight

section index

## NAME

IrrAddLight - Adds a dynamic light scene node to the scene graph.

## SYNOPSIS

IrrAddLight(x.f,y.f,z.f, red.f, green.f, blue.f, size.f)

## INPUTS

x.f,y.f,z.f | - | position of the light
red.f,green.f,blue.f | - | color of that light
size.f | - | size of the light (radius)

## FUNCTION

The light will cast dynamic light on all other scene nodes in the scene, which have the material flag #IRR_EMF_LIGHTING turned on. (This is the default setting in most scene nodes).

## RESULT

Returns pointer to a light scene node