I'm yet to grasp what brackets mean in a rule name. Could someone explain the logic? For example, this rule taken from CityEngine Tutorials 7:
Wall(walltype)-->
// dark bricks with dirt
case walltype == 1 : color(wallColor)
texture(wall_tex) set(material.dirtmap, dirt_tex)
projectUV(0) projectUV(2)
// bright bricks with dirt
case walltype == 2 : color(wallColor)
texture(wall2_tex)
set(material.dirtmap, dirt_tex)
projectUV(0) projectUV(2)
// dirt only
else : color(wallColor)
set(material.dirtmap, dirt_tex)
projectUV(2)
What does Wall(walltype) mean? Why is the "walltype" in brackets?
Any benefits for such?