One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNTechnique

class · SDK 27.1

class SCNTechnique

Members (8)

init

init

TypeScript
static initBySequencingTechniques(techniques: Array<SCNTechnique>): (SCNTechnique) | null
Swift declaration
init?(bySequencingTechniques techniques: [SCNTechnique])
init

init

TypeScript
static initDictionary(dictionary: Record<string, unknown>): (SCNTechnique) | null
Swift declaration
init?(dictionary: [String : Any])
method

handleBinding

TypeScript
handleBinding(symbol: string, block?: (((arg0: number, arg1: number, arg2: (SCNNode) | null, arg3: SCNRenderer) => void)) | null): void
Swift declaration
func handleBinding(ofSymbol symbol: String, using block: SCNBindingBlock? = nil)
subscript

subscript

TypeScript
subscript(key: unknown): (unknown) | null
Swift declaration
subscript(key: Any) -> Any? { get }
method · iOS 9.0+

setObject

TypeScript
setObject(obj: (unknown) | null, key: SDKHandle): void
Swift declaration
func setObject(_ obj: Any?, forKeyedSubscript key: any NSCopying)
get

dictionaryRepresentation

TypeScript
get dictionaryRepresentation(): Record<string, unknown>
Swift declaration
var dictionaryRepresentation: [String : Any] { get }
get · iOS 12.0+

library

TypeScript
get library(): (SDKHandle) | null
Swift declaration
var library: (any MTLLibrary)? { get set }
set · iOS 12.0+

library

TypeScript
set library(value: (SDKHandle) | null)
Swift declaration
var library: (any MTLLibrary)? { get set }

Skipped declarations

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

SCNTechnique.init()

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

All SceneKit types →