One Logo Pool Ball
GameplayKit · IOS API REFERENCE

GKGraphNode2D

class · iOS 9.0+ · SDK 27.1

class GKGraphNode2D

Members (4)

static · iOS 9.0+

node

TypeScript
static node(point: SDKHandle): GKGraphNode2D
Swift declaration
class func node(withPoint point: vector_float2) -> Self
init · iOS 9.0+

init

TypeScript
static init(point: SDKHandle): GKGraphNode2D
Swift declaration
init(point: vector_float2)
get · iOS 9.0+

position

TypeScript
get position(): SDKHandle
Swift declaration
var position: vector_float2 { get set }
set · iOS 9.0+

position

TypeScript
set position(value: SDKHandle)
Swift declaration
var position: vector_float2 { get set }

Skipped declarations

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

GKGraphNode2D.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All GameplayKit types →