<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNPlane/widthSegmentCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNPlane(py)widthSegmentCount"
  },
  "title" : "widthSegmentCount"
}
-->

# widthSegmentCount

The number of subdivisions in the plane’s surface along its horizontal axis. Animatable.

```
var widthSegmentCount: Int { get set }
```

## Discussion

A larger number of segments adds more vertex data to the geometry. Although the plane is flat, extra vertices can be useful for lighting or other special effects. For example, you can add a GLSL source code snippet to the plane’s [`shaderModifiers`](/documentation/SceneKit/SCNShadable/shaderModifiers) property that modulates the position of each vertex. Adding vertices increases rendering cost, so use the minimal segment count that produces your desired visual effect.

The default segment count is `1`. Setting this property’s value to a number less than `1` results in undefined behavior. If the [`cornerRadius`](/documentation/SceneKit/SCNPlane/cornerRadius) property’s value is greater than zero, the segment count applies to the area between corners.

You can animate changes to this property’s value. See [Animating SceneKit Content](/documentation/SceneKit/animating-scenekit-content).

## See Also

[`cornerSegmentCount`](/documentation/SceneKit/SCNPlane/cornerSegmentCount)

The number of line segments used to create each rounded corner of the plane. Animatable.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)