One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNSphere

class · SDK 27.1

class SCNSphere

Members (7)

init

init

TypeScript
static init(radius: number): SCNSphere
Swift declaration
convenience init(radius: CGFloat)
get

isGeodesic

TypeScript
get isGeodesic(): boolean
Swift declaration
var isGeodesic: Bool { get set }
set

isGeodesic

TypeScript
set isGeodesic(value: boolean)
Swift declaration
var isGeodesic: Bool { get set }
get

radius

TypeScript
get radius(): number
Swift declaration
var radius: CGFloat { get set }
set

radius

TypeScript
set radius(value: number)
Swift declaration
var radius: CGFloat { get set }
get

segmentCount

TypeScript
get segmentCount(): number
Swift declaration
var segmentCount: Int { get set }
set

segmentCount

TypeScript
set segmentCount(value: number)
Swift declaration
var segmentCount: Int { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SCNSphere.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All SceneKit types →