---
title: groundColor
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlskycubetexture/groundcolor
---

# groundColor

The color of the simulated ground.

## Declaration

```swift
var groundColor: CGColor? { get set }
```

## Discussion

Discussion By default, this property’s value is nil, causing Model I/O to render an infinite sky above and below. If you set this property to a color, Model I/O renders a solid color for all areas of the cube texture below the level specified in the horizonElevation property.

## See Also

### Working with Sky Simulation Parameters

- [turbidity](modelio/mdlskycubetexture/turbidity.md)
- [sunElevation](modelio/mdlskycubetexture/sunelevation.md)
- [upperAtmosphereScattering](modelio/mdlskycubetexture/upperatmospherescattering.md)
- [groundAlbedo](modelio/mdlskycubetexture/groundalbedo.md)
- [horizonElevation](modelio/mdlskycubetexture/horizonelevation.md)
