One Logo Pool Ball
GameplayKit · IOS API REFERENCE

GKSphereObstacle

class · iOS 10.0+ · SDK 27.1

class GKSphereObstacle

Members (5)

init · iOS 10.0+

init

TypeScript
static init(radius: number): GKSphereObstacle
Swift declaration
init(radius: Float)
get · iOS 10.0+

position

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

position

TypeScript
set position(value: SDKHandle)
Swift declaration
var position: vector_float3 { get set }
get · iOS 10.0+

radius

TypeScript
get radius(): number
Swift declaration
var radius: Float { get set }
set · iOS 10.0+

radius

TypeScript
set radius(value: number)
Swift declaration
var radius: Float { get set }

Skipped declarations

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

GKSphereObstacle.init()

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

All GameplayKit types →