One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNPhysicsHingeJoint

class · SDK 27.1

class SCNPhysicsHingeJoint

Members (12)

init

init

TypeScript
static initBodyAxisAnchor(body: SCNPhysicsBody, axis: SCNVector3, anchor: SCNVector3): SCNPhysicsHingeJoint
Swift declaration
convenience init(body: SCNPhysicsBody, axis: SCNVector3, anchor: SCNVector3)
init

init

TypeScript
static initBodyAAxisAAnchorABodyBAxisBAnchorB(bodyA: SCNPhysicsBody, axisA: SCNVector3, anchorA: SCNVector3, bodyB: SCNPhysicsBody, axisB: SCNVector3, anchorB: SCNVector3): SCNPhysicsHingeJoint
Swift declaration
convenience init(bodyA: SCNPhysicsBody, axisA: SCNVector3, anchorA: SCNVector3, bodyB: SCNPhysicsBody, axisB: SCNVector3, 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

axisA

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

axisA

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

axisB

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

axisB

TypeScript
set axisB(value: SCNVector3)
Swift declaration
var axisB: 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.

SCNPhysicsHingeJoint.init()

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

All SceneKit types →