One Logo Pool Ball
SpriteKit · IOS API REFERENCE

SKAttribute

class · iOS 9.0+ · SDK 27.1

class SKAttribute

Members (3)

init · iOS 9.0+

init

TypeScript
static init(name: string, type: SKAttributeType): SKAttribute
Swift declaration
init(name: String, type: SKAttributeType)
get · iOS 9.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get }
get · iOS 9.0+

type

TypeScript
get type(): SKAttributeType
Swift declaration
var type: SKAttributeType { get }

Skipped declarations

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

SKAttribute.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All SpriteKit types →