---
title: borderColor
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnmaterialproperty/bordercolor
---

# borderColor

A color used to fill in areas of a material’s surface not covered by the material property’s image contents.

## Declaration

```swift
var borderColor: Any? { get set }
```

## Discussion

Discussion When the material property’s contents are a texture image and its texture wrapping properties are set to SCNWrapMode.clampToBorder, the border color appears in areas of a textured geometry not covered by the texture image, as shown in .

## See Also

### Configuring Texture Mapping Attributes

- [contentsTransform](scenekit/scnmaterialproperty/contentstransform.md)
- [wrapS](scenekit/scnmaterialproperty/wraps.md)
- [wrapT](scenekit/scnmaterialproperty/wrapt.md)
- [SCNWrapMode](scenekit/scnwrapmode.md)
- [minificationFilter](scenekit/scnmaterialproperty/minificationfilter.md)
- [magnificationFilter](scenekit/scnmaterialproperty/magnificationfilter.md)
- [mipFilter](scenekit/scnmaterialproperty/mipfilter.md)
- [SCNFilterMode](scenekit/scnfiltermode.md)
- [maxAnisotropy](scenekit/scnmaterialproperty/maxanisotropy.md)
- [mappingChannel](scenekit/scnmaterialproperty/mappingchannel.md)
