One Logo Pool Ball
SpriteKit · IOS API REFERENCE

SKPhysicsJointSpring

class · SDK 27.1

class SKPhysicsJointSpring

Members (6)

static

joint

TypeScript
static joint(bodyA: SKPhysicsBody, bodyB: SKPhysicsBody, anchorA: { x: number; y: number }, anchorB: { x: number; y: number }): SKPhysicsJointSpring
Swift declaration
class func joint(withBodyA bodyA: SKPhysicsBody, bodyB: SKPhysicsBody, anchorA: CGPoint, anchorB: CGPoint) -> SKPhysicsJointSpring
init

init

TypeScript
static init(): SKPhysicsJointSpring
Swift declaration
init()
get

damping

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

damping

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

frequency

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

frequency

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

Skipped declarations

No declarations were skipped in this snapshot.

All SpriteKit types →