init
TypeScriptstatic initSourcesElements(sources: Array<SCNGeometrySource>, elements?: (Array<SCNGeometryElement>) | null): SCNGeometrySwift declarationconvenience init(sources: [SCNGeometrySource], elements: [SCNGeometryElement]?)class · SDK 27.1
class SCNGeometrystatic initSourcesElements(sources: Array<SCNGeometrySource>, elements?: (Array<SCNGeometryElement>) | null): SCNGeometrySwift declarationconvenience init(sources: [SCNGeometrySource], elements: [SCNGeometryElement]?)static initSourcesElementsSourceChannels(sources: Array<SCNGeometrySource>, elements?: (Array<SCNGeometryElement>) | null, sourceChannels?: (Array<_Foundation_NSNumber>) | null): SCNGeometrySwift declarationconvenience init(sources: [SCNGeometrySource], elements: [SCNGeometryElement]?, sourceChannels: [NSNumber]?)element(elementIndex: number): SCNGeometryElementSwift declarationfunc element(at elementIndex: Int) -> SCNGeometryElementsourcesFor(semantic: SCNGeometrySource_Semantic): Array<SCNGeometrySource>Swift declarationfunc sources(for semantic: SCNGeometrySource.Semantic) -> [SCNGeometrySource]insertMaterial(material: SCNMaterial, index: number): voidSwift declarationfunc insertMaterial(_ material: SCNMaterial, at index: Int)material(name: string): (SCNMaterial) | nullSwift declarationfunc material(named name: String) -> SCNMaterial?removeMaterial(index: number): voidSwift declarationfunc removeMaterial(at index: Int)replaceMaterial(index: number, material: SCNMaterial): voidSwift declarationfunc replaceMaterial(at index: Int, with material: SCNMaterial)get edgeCreasesElement(): (SCNGeometryElement) | nullSwift declarationvar edgeCreasesElement: SCNGeometryElement? { get set }set edgeCreasesElement(value: (SCNGeometryElement) | null)Swift declarationvar edgeCreasesElement: SCNGeometryElement? { get set }get edgeCreasesSource(): (SCNGeometrySource) | nullSwift declarationvar edgeCreasesSource: SCNGeometrySource? { get set }set edgeCreasesSource(value: (SCNGeometrySource) | null)Swift declarationvar edgeCreasesSource: SCNGeometrySource? { get set }get firstMaterial(): (SCNMaterial) | nullSwift declarationvar firstMaterial: SCNMaterial? { get set }set firstMaterial(value: (SCNMaterial) | null)Swift declarationvar firstMaterial: SCNMaterial? { get set }get elementCount(): numberSwift declarationvar elementCount: Int { get }get elements(): Array<SCNGeometryElement>Swift declarationvar elements: [SCNGeometryElement] { get }get geometrySourceChannels(): (Array<_Foundation_NSNumber>) | nullSwift declarationvar geometrySourceChannels: [NSNumber]? { get }get sources(): Array<SCNGeometrySource>Swift declarationvar sources: [SCNGeometrySource] { get }get levelsOfDetail(): (Array<SCNLevelOfDetail>) | nullSwift declarationvar levelsOfDetail: [SCNLevelOfDetail]? { get set }set levelsOfDetail(value: (Array<SCNLevelOfDetail>) | null)Swift declarationvar levelsOfDetail: [SCNLevelOfDetail]? { get set }get materials(): Array<SCNMaterial>Swift declarationvar materials: [SCNMaterial] { get set }set materials(value: Array<SCNMaterial>)Swift declarationvar materials: [SCNMaterial] { get set }get name(): (string) | nullSwift declarationvar name: String? { get set }set name(value: (string) | null)Swift declarationvar name: String? { get set }get subdivisionLevel(): numberSwift declarationvar subdivisionLevel: Int { get set }set subdivisionLevel(value: number)Swift declarationvar subdivisionLevel: Int { get set }get tessellator(): (SCNGeometryTessellator) | nullSwift declarationvar tessellator: SCNGeometryTessellator? { get set }set tessellator(value: (SCNGeometryTessellator) | null)Swift declarationvar tessellator: SCNGeometryTessellator? { get set }get wantsAdaptiveSubdivision(): booleanSwift declarationvar wantsAdaptiveSubdivision: Bool { get set }set wantsAdaptiveSubdivision(value: boolean)Swift declarationvar wantsAdaptiveSubdivision: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SCNGeometry.init()
inherited init: cannot prove legal (class declares 2 custom initializers)