<!--
{
  "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/SCNSphere",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNSphere"
  },
  "title" : "SCNSphere"
}
-->

# SCNSphere

A sphere (or ball or globe) geometry.

```
class SCNSphere
```

## Overview

![](images/com.apple.scenekit/media-2929814@2x.png)

A sphere defines a surface whose every point is equidistant from its center, which is placed at the origin of its local coordinate space. You define the size of the sphere in all three dimensions using its [`radius`](/documentation/SceneKit/SCNSphere/radius) property.

SceneKit approximates the curved surface of a sphere using a mesh of polygons. There are two options for constructing the mesh:

- By default, SceneKit constructs the sphere using a rectangular grid, like the lines of latitude and longitude on a globe of the Earth. The sphere has a vertex at each pole, and its [`segmentCount`](/documentation/SceneKit/SCNSphere/segmentCount) property determines both the number of divisions along its surface from one pole to the other (or lines of latitude) and the number of divisions around its circumference in a horizontal plane (or lines of longitude).
- If you set the sphere’s [`isGeodesic`](/documentation/SceneKit/SCNSphere/isGeodesic) property to <doc://com.apple.documentation/documentation/Swift/true>, SceneKit constructs the sphere by successively subdividing the triangular surfaces of a regular icosahedron. For a geodesic sphere, the [`SCNSphere`](/documentation/SceneKit/SCNSphere) property scales logarithmically to determine the number of subdivisions, roughly approximating the number of vertices generated by a non-geodesic sphere of the same segment count.

With either approximation, increasing the [`SCNSphere`](/documentation/SceneKit/SCNSphere) property produces more vertices and a more smoothly curved surface, which can improve rendering quality at a cost to rendering performance.

To position and orient a sphere in a scene, attach it to the [`geometry`](/documentation/SceneKit/SCNNode/geometry) property of an [`SCNNode`](/documentation/SceneKit/SCNNode) object.

## Topics

### Creating a Sphere

[`+  sphereWithRadius:`](/documentation/SceneKit/SCNSphere/init(radius:))

Creates a sphere geometry with the specified radius.

### Adjusting a Sphere’s Dimensions

[`radius`](/documentation/SceneKit/SCNSphere/radius)

The radius of the sphere. Animatable.

### Adjusting Geometric Detail

[`geodesic`](/documentation/SceneKit/SCNSphere/isGeodesic)

A Boolean value specifying whether SceneKit uses a geodesic polygon mesh to render the sphere.

[`segmentCount`](/documentation/SceneKit/SCNSphere/segmentCount)

A number determining the detail of the polygon mesh SceneKit uses to render the sphere. Animatable.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`SCNShadable`](/documentation/SceneKit/SCNShadable)

[`Equatable`](/documentation/Swift/Equatable)

[`SCNBoundingVolume`](/documentation/SceneKit/SCNBoundingVolume)

[`Hashable`](/documentation/Swift/Hashable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SCNAnimatable`](/documentation/SceneKit/SCNAnimatable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`SCNGeometry`](/documentation/SceneKit/SCNGeometry)

---

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)