One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNAudioSource

class · iOS 9.0+ · SDK 27.1

class SCNAudioSource

Members (16)

init · iOS 9.0+

init

TypeScript
static initNamed(fileName: string): (SCNAudioSource) | null
Swift declaration
convenience init?(named fileName: String)
init · iOS 9.0+

init

TypeScript
static initFileNamed(name: string): (SCNAudioSource) | null
Swift declaration
convenience init?(fileNamed name: String)
init · iOS 9.0+

init

TypeScript
static initUrl(url: string): (SCNAudioSource) | null
Swift declaration
init?(url: URL)
method · iOS 9.0+

load

TypeScript
load(): void
Swift declaration
func load()
get · iOS 9.0+

loops

TypeScript
get loops(): boolean
Swift declaration
var loops: Bool { get set }
set · iOS 9.0+

loops

TypeScript
set loops(value: boolean)
Swift declaration
var loops: Bool { get set }
get · iOS 9.0+

isPositional

TypeScript
get isPositional(): boolean
Swift declaration
var isPositional: Bool { get set }
set · iOS 9.0+

isPositional

TypeScript
set isPositional(value: boolean)
Swift declaration
var isPositional: Bool { get set }
get · iOS 9.0+

rate

TypeScript
get rate(): number
Swift declaration
var rate: Float { get set }
set · iOS 9.0+

rate

TypeScript
set rate(value: number)
Swift declaration
var rate: Float { get set }
get · iOS 9.0+

reverbBlend

TypeScript
get reverbBlend(): number
Swift declaration
var reverbBlend: Float { get set }
set · iOS 9.0+

reverbBlend

TypeScript
set reverbBlend(value: number)
Swift declaration
var reverbBlend: Float { get set }
get · iOS 9.0+

shouldStream

TypeScript
get shouldStream(): boolean
Swift declaration
var shouldStream: Bool { get set }
set · iOS 9.0+

shouldStream

TypeScript
set shouldStream(value: boolean)
Swift declaration
var shouldStream: Bool { get set }
get · iOS 9.0+

volume

TypeScript
get volume(): number
Swift declaration
var volume: Float { get set }
set · iOS 9.0+

volume

TypeScript
set volume(value: number)
Swift declaration
var volume: Float { get set }

Skipped declarations

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

SCNAudioSource.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All SceneKit types →