GAMGI Formats: Layer Create

# Layer Create

- Projection
- Position
- Visibility
- View

### red, green, blue

Set the background color of the layer. When several layers exist simultaneously in a window, the background color of the graphic region is always the color of the current layer.

    Example: <layer ... red="0.0" green="0.0" blue="0.0"/> (default)
    (defined in GAMGI_MESA_LAYER_R, GAMGI_MESA_LAYER_G
    and GAMGI_MESA_LAYER_B)
    Allowed values: 0.0 - 1.0 (optional, coupled)

### axes

Controls whether the absolute layer axes are shown. Positioned at (0,0,0), with vectors (1,0,0), (0,1,0), (0,0,1), the three axes use the rgb color scheme: red for the first axis, green for the second and blue for the third.

    Example: <layer ... axes="no"/> (default)
    Allowed values: yes, no (optional)

### scale

Change the size of all objects directly belonging to the layer. Lights and the layer itself are not affected, as they have no visual representation. Objects are scaled around the layer center.

    Example: <layer ... scale="1.0"/> (default)
    (defined in GAMGI_MESA_SCALE)
    Allowed values: positive real (optional)

Home