init
TypeScriptstatic init(capRadius: number, height: number): SCNCapsuleSwift declarationconvenience init(capRadius: CGFloat, height: CGFloat)class · SDK 27.1
class SCNCapsulestatic init(capRadius: number, height: number): SCNCapsuleSwift declarationconvenience init(capRadius: CGFloat, height: CGFloat)get capRadius(): numberSwift declarationvar capRadius: CGFloat { get set }set capRadius(value: number)Swift declarationvar capRadius: CGFloat { get set }get capSegmentCount(): numberSwift declarationvar capSegmentCount: Int { get set }set capSegmentCount(value: number)Swift declarationvar capSegmentCount: Int { get set }get height(): numberSwift declarationvar height: CGFloat { get set }set height(value: number)Swift declarationvar height: CGFloat { get set }get heightSegmentCount(): numberSwift declarationvar heightSegmentCount: Int { get set }set heightSegmentCount(value: number)Swift declarationvar heightSegmentCount: Int { get set }get radialSegmentCount(): numberSwift declarationvar radialSegmentCount: Int { get set }set radialSegmentCount(value: number)Swift declarationvar radialSegmentCount: Int { get set }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)