distance
TypeScriptstatic distanceTo(range: SKRange, node: SKNode): SKConstraintSwift declarationclass func distance(_ range: SKRange, to node: SKNode) -> Selfclass · iOS 8.0+ · SDK 27.1
class SKConstraintstatic distanceTo(range: SKRange, node: SKNode): SKConstraintSwift declarationclass func distance(_ range: SKRange, to node: SKNode) -> Selfstatic distanceTo84365(range: SKRange, point: { x: number; y: number }): SKConstraintSwift declarationclass func distance(_ range: SKRange, to point: CGPoint) -> Selfstatic distanceToIn(range: SKRange, point: { x: number; y: number }, node: SKNode): SKConstraintSwift declarationclass func distance(_ range: SKRange, to point: CGPoint, in node: SKNode) -> Selfstatic orientToOffset(node: SKNode, radians: SKRange): SKConstraintSwift declarationclass func orient(to node: SKNode, offset radians: SKRange) -> Selfstatic orientToInOffset(point: { x: number; y: number }, node: SKNode, radians: SKRange): SKConstraintSwift declarationclass func orient(to point: CGPoint, in node: SKNode, offset radians: SKRange) -> Selfstatic orientToOffset32460(point: { x: number; y: number }, radians: SKRange): SKConstraintSwift declarationclass func orient(to point: CGPoint, offset radians: SKRange) -> Selfstatic positionX(range: SKRange): SKConstraintSwift declarationclass func positionX(_ range: SKRange) -> Selfstatic positionXY(xRange: SKRange, yRange: SKRange): SKConstraintSwift declarationclass func positionX(_ xRange: SKRange, y yRange: SKRange) -> Selfstatic positionY(range: SKRange): SKConstraintSwift declarationclass func positionY(_ range: SKRange) -> Selfstatic zRotation(zRange: SKRange): SKConstraintSwift declarationclass func zRotation(_ zRange: SKRange) -> Selfstatic init(): SKConstraintSwift declarationinit()get enabled(): booleanSwift declarationvar enabled: Bool { get set }set enabled(value: boolean)Swift declarationvar enabled: Bool { get set }get referenceNode(): (SKNode) | nullSwift declarationvar referenceNode: SKNode? { get set }set referenceNode(value: (SKNode) | null)Swift declarationvar referenceNode: SKNode? { get set }No declarations were skipped in this snapshot.