One Logo Pool Ball
GameController · IOS API REFERENCE

GCColor

class · iOS 14.0+ · SDK 27.1

class GCColor

Members (4)

init · iOS 14.0+

init

TypeScript
static init(red: number, green: number, blue: number): GCColor
Swift declaration
init(red: Float, green: Float, blue: Float)
get · iOS 14.0+

blue

TypeScript
get blue(): number
Swift declaration
var blue: Float { get }
get · iOS 14.0+

green

TypeScript
get green(): number
Swift declaration
var green: Float { get }
get · iOS 14.0+

red

TypeScript
get red(): number
Swift declaration
var red: Float { get }

Skipped declarations

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

GCColor.init()

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

All GameController types →