GAMGI Formats: Layer Create

# Layer Create

- Projection
- Position
- Visibility
- View

### eye_x, eye_y, eye_z

Define the observer position in the layer space. The distance from eye to center must be in the near-far range. When not indicated, GAMGI uses default values. To change the default, select Layer->Config and read Help->Topics->Formats->Config->Layer.

    Example: <layer ... eye_x="0.0" eye_y="0.0" eye_z="10.0"/> (default)
    (defined in GAMGI_MESA_LAYER_EYE_X, GAMGI_MESA_LAYER_EYE_Y
    and GAMGI_MESA_LAYER_EYE_Z)
    Allowed values: real (optional, coupled)

### center_x, center_y, center_z

Define the position to where the observer is looking in the layer space. The distance from eye to center must be in the near-far range. When not indicated, GAMGI uses default values. To change the default, select Layer->Config and read Help->Topics->Formats->Config->Layer.

    Example: <layer ... center_x="0.0" center_y="0.0" center_z="0.0"/> (default)
    (defined in GAMGI_MESA_LAYER_CENTER_X, GAMGI_MESA_LAYER_CENTER_Y
    and GAMGI_MESA_LAYER_CENTER_Z)
    Allowed values: real (optional, coupled)

### up_x, up_y, up_z

Define the up direction, relative to the observer, in the layer space. When not indicated, GAMGI uses default values. To change the default, select Layer->Config and read Help->Topics->Formats->Config->Layer.

    Example: <layer ... up_x="0.0" up_y="1.0" up_z="0.0"/> (default)
    (defined in GAMGI_MESA_LAYER_UP_X, GAMGI_MESA_LAYER_UP_Y
    and GAMGI_MESA_LAYER_UP_Z)
    Allowed values: non-zero real (optional, coupled)

Home