One Logo Pool Ball
ModelIO · IOS API REFERENCE

MDLPhotometricLight

class · iOS 9.0+ · SDK 27.1

class MDLPhotometricLight

Members (7)

method · iOS 9.0+

generateCubemap

TypeScript
generateCubemap(textureSize: number): void
Swift declaration
func generateCubemap(fromLight textureSize: Int)
method · iOS 9.0+

generateSphericalHarmonics

TypeScript
generateSphericalHarmonics(sphericalHarmonicsLevel: number): void
Swift declaration
func generateSphericalHarmonics(fromLight sphericalHarmonicsLevel: Int)
method · iOS 11.0+

generateTexture

TypeScript
generateTexture(textureSize: number): MDLTexture
Swift declaration
func generateTexture(_ textureSize: Int) -> MDLTexture
init · iOS 9.0+

init

TypeScript
static init(URL: string): (MDLPhotometricLight) | null
Swift declaration
init?(iesProfile URL: URL)
get · iOS 9.0+

lightCubeMap

TypeScript
get lightCubeMap(): (MDLTexture) | null
Swift declaration
var lightCubeMap: MDLTexture? { get }
get · iOS 9.0+

sphericalHarmonicsCoefficients

TypeScript
get sphericalHarmonicsCoefficients(): (ArrayBuffer) | null
Swift declaration
var sphericalHarmonicsCoefficients: Data? { get }
get · iOS 9.0+

sphericalHarmonicsLevel

TypeScript
get sphericalHarmonicsLevel(): number
Swift declaration
var sphericalHarmonicsLevel: Int { get }

Skipped declarations

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

MDLPhotometricLight.init()

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

All ModelIO types →