SpriteKit · IOS API REFERENCE
SKPhysicsJointLimit
class · SDK 27.1
class SKPhysicsJointLimit
Members (4)
staticjoint
TypeScriptstatic joint(bodyA: SKPhysicsBody, bodyB: SKPhysicsBody, anchorA: { x: number; y: number }, anchorB: { x: number; y: number }): SKPhysicsJointLimit
Swift declarationclass func joint(withBodyA bodyA: SKPhysicsBody, bodyB: SKPhysicsBody, anchorA: CGPoint, anchorB: CGPoint) -> SKPhysicsJointLimit
initinit
TypeScriptstatic init(): SKPhysicsJointLimit
Swift declarationinit()
getmaxLength
TypeScriptget maxLength(): number
Swift declarationvar maxLength: CGFloat { get set }
setmaxLength
TypeScriptset maxLength(value: number)
Swift declarationvar maxLength: CGFloat { get set }
Skipped declarations
No declarations were skipped in this snapshot.
All SpriteKit types →