IrrGetNodeMaterial

section index

## NAME

IrrGetNodeMaterial - get the material

## SYNOPSIS

*mat.l = IrrGetNodeMaterial(*node.l,materialID.l)

## INPUTS

*node.l | - | pointer to a Scene Node
materialID.l | - | Id of the Material

## FUNCTION

Get the material with the id from the Node. This is usefull, if you wnat to change something with the Material-Functions.

## EXAMPLE

       *mat.l = IrrGetNodeMaterial(*Node.l,0)

## RESULT

nothing