Table of Contents
Chapter Index
Previous Slide
Next Slide
101
Syntax: DEF
Naming nodes
Syntax: DEF
The
DEF
syntax gives a name to a node
DEF RedColor Material { diffuseColor 1.0 0.0 0.0 }
You can name any node
Names can be most any sequence of letters and numbers
Names must be unique within a file