One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNCone

class · SDK 27.1

class SCNCone

Members (11)

init

init

TypeScript
static init(topRadius: number, bottomRadius: number, height: number): SCNCone
Swift declaration
convenience init(topRadius: CGFloat, bottomRadius: CGFloat, height: CGFloat)
get

bottomRadius

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

bottomRadius

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

topRadius

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

topRadius

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

Skipped declarations

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

SCNCone.init()

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

All SceneKit types →