init
TypeScriptstatic initAvPlayer(player: _AVFoundation_AVPlayer): Promise<SKVideoNode>Swift declarationinit(avPlayer player: AVPlayer)class · SDK 27.1
class SKVideoNodestatic initAvPlayer(player: _AVFoundation_AVPlayer): Promise<SKVideoNode>Swift declarationinit(avPlayer player: AVPlayer)static initCoder(aDecoder: _Foundation_NSCoder): Promise<(SKVideoNode) | null>Swift declarationinit?(coder aDecoder: NSCoder)static initFileNamed(videoFile: string): Promise<SKVideoNode>Swift declarationinit(fileNamed videoFile: String)static initUrl(url: string): Promise<SKVideoNode>Swift declarationinit(url: URL)static initVideoFileNamed(videoFile: string): Promise<SKVideoNode>Swift declarationinit(videoFileNamed videoFile: String)static initVideoURL(url: string): Promise<SKVideoNode>Swift declarationinit(videoURL url: URL)pause(): Promise<void>Swift declarationfunc pause()play(): Promise<void>Swift declarationfunc play()get anchorPoint(): Promise<{ x: number; y: number }>Swift declarationvar anchorPoint: CGPoint { get set }setAnchorPoint(value: { x: number; y: number }): Promise<void>Swift declarationvar anchorPoint: CGPoint { get set }get size(): Promise<{ width: number; height: number }>Swift declarationvar size: CGSize { get set }setSize(value: { width: number; height: number }): Promise<void>Swift declarationvar size: CGSize { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SKVideoNode.init()
inherited init: cannot prove legal (class declares 9 custom initializers)