Added <switch> tag to .p3d to allow one to provide multiple ways to render children within a layer.