One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNCylinder

class · SDK 27.1

class SCNCylinder

Members (9)

init

init

TypeScript
static init(radius: number, height: number): SCNCylinder
Swift declaration
convenience init(radius: CGFloat, height: CGFloat)
get

height

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

height

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

heightSegmentCount

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

heightSegmentCount

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

radialSegmentCount

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

radialSegmentCount

TypeScript
set radialSegmentCount(value: number)
Swift declaration
var radialSegmentCount: Int { 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 }

Skipped declarations

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

SCNCylinder.init()

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

All SceneKit types →