One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNPhysicsBallSocketJoint

class · SDK 27.1

class SCNPhysicsBallSocketJoint

Members (8)

init

init

TypeScript
static initBodyAnchor(body: SCNPhysicsBody, anchor: SCNVector3): SCNPhysicsBallSocketJoint
Swift declaration
convenience init(body: SCNPhysicsBody, anchor: SCNVector3)
init

init

TypeScript
static initBodyAAnchorABodyBAnchorB(bodyA: SCNPhysicsBody, anchorA: SCNVector3, bodyB: SCNPhysicsBody, anchorB: SCNVector3): SCNPhysicsBallSocketJoint
Swift declaration
convenience init(bodyA: SCNPhysicsBody, anchorA: SCNVector3, bodyB: SCNPhysicsBody, anchorB: SCNVector3)
get

anchorA

TypeScript
get anchorA(): SCNVector3
Swift declaration
var anchorA: SCNVector3 { get set }
set

anchorA

TypeScript
set anchorA(value: SCNVector3)
Swift declaration
var anchorA: SCNVector3 { get set }
get

anchorB

TypeScript
get anchorB(): SCNVector3
Swift declaration
var anchorB: SCNVector3 { get set }
set

anchorB

TypeScript
set anchorB(value: SCNVector3)
Swift declaration
var anchorB: SCNVector3 { get set }
get

bodyA

TypeScript
get bodyA(): SCNPhysicsBody
Swift declaration
var bodyA: SCNPhysicsBody { get }
get

bodyB

TypeScript
get bodyB(): (SCNPhysicsBody) | null
Swift declaration
var bodyB: SCNPhysicsBody? { get }

Skipped declarations

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

SCNPhysicsBallSocketJoint.init()

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

All SceneKit types →