IrrSetNodeAllMaterialAmbientColor

section index

## NAME

IrrSetNodeAllMaterialAmbientColor - change the Ambient

## SYNOPSIS

IrrSetNodeAllMaterialAmbientColor(*node.l, alpha.l, red.l, green.l, blue.l)

## INPUTS

*Node.l | - | pointer to a Scene Node
alpha.l,red.l,green.l,blue.l | - | new Ambient Color

## FUNCTION

Sometimes you want to change the Ambient-Color for all matrials of a node, so you can use this Function instead walking self through each material.

## EXAMPLE

       IrrSetNodeAllMaterialAmbientColor(*node,128,128,128,128)

## RESULT

nothing

## NOTES