One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNCapsule

class · SDK 27.1

class SCNCapsule

Members (11)

init

init

TypeScript
static init(capRadius: number, height: number): SCNCapsule
Swift declaration
convenience init(capRadius: CGFloat, height: CGFloat)
get

capRadius

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

capRadius

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

capSegmentCount

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

capSegmentCount

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

Skipped declarations

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

SCNCapsule.init()

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

All SceneKit types →