Contents

borderColor

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

Declaration

var borderColor: Any? { get set }

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