One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNAnimationPlayer

class · iOS 11.0+ · SDK 27.1

class SCNAnimationPlayer

Members (11)

init · iOS 11.0+

init

TypeScript
static init(animation: SCNAnimation): SCNAnimationPlayer
Swift declaration
init(animation: SCNAnimation)
method · iOS 11.0+

play

TypeScript
play(): void
Swift declaration
func play()
method · iOS 11.0+

stop

TypeScript
stop(): void
Swift declaration
func stop()
method · iOS 11.0+

stop

TypeScript
stopWithBlendOutDuration(duration: number): void
Swift declaration
func stop(withBlendOutDuration duration: TimeInterval)
get · iOS 11.0+

animation

TypeScript
get animation(): SCNAnimation
Swift declaration
var animation: SCNAnimation { get }
get · iOS 11.0+

blendFactor

TypeScript
get blendFactor(): number
Swift declaration
var blendFactor: CGFloat { get set }
set · iOS 11.0+

blendFactor

TypeScript
set blendFactor(value: number)
Swift declaration
var blendFactor: CGFloat { get set }
get · iOS 11.0+

paused

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

paused

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

speed

TypeScript
get speed(): number
Swift declaration
var speed: CGFloat { get set }
set · iOS 11.0+

speed

TypeScript
set speed(value: number)
Swift declaration
var speed: CGFloat { get set }

Skipped declarations

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

SCNAnimationPlayer.init()

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

All SceneKit types →