One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNTorus

class · SDK 27.1

class SCNTorus

Members (9)

init

init

TypeScript
static init(ringRadius: number, pipeRadius: number): SCNTorus
Swift declaration
convenience init(ringRadius: CGFloat, pipeRadius: CGFloat)
get

pipeRadius

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

pipeRadius

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

pipeSegmentCount

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

pipeSegmentCount

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

ringRadius

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

ringRadius

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

ringSegmentCount

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

ringSegmentCount

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

Skipped declarations

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

SCNTorus.init()

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

All SceneKit types →