init
TypeScriptstatic initNamed(name: string): (SCNScene) | nullSwift declarationconvenience init?(named name: String)class · SDK 27.1
class SCNScenestatic initNamed(name: string): (SCNScene) | nullSwift declarationconvenience init?(named name: String)static initNamedInDirectoryOptions(name: string, directory?: (string) | null, options?: (NativeMap<SCNSceneSource_LoadingOption, unknown>) | null): (SCNScene) | nullSwift declarationconvenience init?(named name: String, inDirectory directory: String?, options: [SCNSceneSource.LoadingOption : Any]? = nil)static initUrlOptions(url: string, options?: (NativeMap<SCNSceneSource_LoadingOption, unknown>) | null): SCNSceneSwift declarationconvenience init(url: URL, options: [SCNSceneSource.LoadingOption : Any]? = nil) throwsaddParticleSystem(system: SCNParticleSystem, transform: SCNMatrix4): voidSwift declarationfunc addParticleSystem(_ system: SCNParticleSystem, transform: SCNMatrix4)attribute(key: string): (unknown) | nullSwift declarationfunc attribute(forKey key: String) -> Any?removeAllParticleSystems(): voidSwift declarationfunc removeAllParticleSystems()removeParticleSystem(system: SCNParticleSystem): voidSwift declarationfunc removeParticleSystem(_ system: SCNParticleSystem)setAttribute(attribute: (unknown) | null, key: string): voidSwift declarationfunc setAttribute(_ attribute: Any?, forKey key: String)write(url: string, options?: (Record<string, unknown>) | null, delegate?: (Implements<SCNSceneExportDelegate> | SDKHandle) | null, progressHandler?: (((arg0: number, arg1: (NativeError) | null, arg2: NativeOut<boolean>) => void)) | null): booleanSwift declarationfunc write(to url: URL, options: [String : Any]? = nil, delegate: (any SCNSceneExportDelegate)?, progressHandler: SCNSceneExportProgressHandler? = nil) -> Boolget background(): SCNMaterialPropertySwift declarationvar background: SCNMaterialProperty { get }get fogColor(): unknownSwift declarationvar fogColor: Any { get set }set fogColor(value: unknown)Swift declarationvar fogColor: Any { get set }get fogDensityExponent(): numberSwift declarationvar fogDensityExponent: CGFloat { get set }set fogDensityExponent(value: number)Swift declarationvar fogDensityExponent: CGFloat { get set }get fogEndDistance(): numberSwift declarationvar fogEndDistance: CGFloat { get set }set fogEndDistance(value: number)Swift declarationvar fogEndDistance: CGFloat { get set }get fogStartDistance(): numberSwift declarationvar fogStartDistance: CGFloat { get set }set fogStartDistance(value: number)Swift declarationvar fogStartDistance: CGFloat { get set }get lightingEnvironment(): SCNMaterialPropertySwift declarationvar lightingEnvironment: SCNMaterialProperty { get }get particleSystems(): (Array<SCNParticleSystem>) | nullSwift declarationvar particleSystems: [SCNParticleSystem]? { get }get isPaused(): booleanSwift declarationvar isPaused: Bool { get set }set isPaused(value: boolean)Swift declarationvar isPaused: Bool { get set }get physicsWorld(): SCNPhysicsWorldSwift declarationvar physicsWorld: SCNPhysicsWorld { get }get rootNode(): SCNNodeSwift declarationvar rootNode: SCNNode { get }get screenSpaceReflectionMaximumDistance(): numberSwift declarationvar screenSpaceReflectionMaximumDistance: CGFloat { get set }set screenSpaceReflectionMaximumDistance(value: number)Swift declarationvar screenSpaceReflectionMaximumDistance: CGFloat { get set }get screenSpaceReflectionSampleCount(): numberSwift declarationvar screenSpaceReflectionSampleCount: Int { get set }set screenSpaceReflectionSampleCount(value: number)Swift declarationvar screenSpaceReflectionSampleCount: Int { get set }get screenSpaceReflectionStride(): numberSwift declarationvar screenSpaceReflectionStride: CGFloat { get set }set screenSpaceReflectionStride(value: number)Swift declarationvar screenSpaceReflectionStride: CGFloat { get set }get wantsScreenSpaceReflection(): booleanSwift declarationvar wantsScreenSpaceReflection: Bool { get set }set wantsScreenSpaceReflection(value: boolean)Swift declarationvar wantsScreenSpaceReflection: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SCNScene.init()
inherited init: cannot prove legal (class declares 4 custom initializers)