One Logo Pool Ball
ModelIO · IOS API REFERENCE

MDLLightProbe

class · iOS 9.0+ · SDK 27.1

class MDLLightProbe

Members (7)

init

init

TypeScript
static initTextureSizeForLocationLightsToConsiderObjectsToConsiderReflectiveCubemapIrradianceCubemap(textureSize: number, transform: MDLTransform, lightsToConsider: Array<MDLLight>, objectsToConsider: Array<MDLObject>, reflectiveCubemap?: (MDLTexture) | null, irradianceCubemap?: (MDLTexture) | null): (MDLLightProbe) | null
Swift declaration
init?(textureSize: Int, forLocation transform: MDLTransform, lightsToConsider: [MDLLight], objectsToConsider: [MDLObject], reflectiveCubemap: MDLTexture?, irradianceCubemap: MDLTexture?)
method · iOS 9.0+

generateSphericalHarmonics

TypeScript
generateSphericalHarmonics(sphericalHarmonicsLevel: number): void
Swift declaration
func generateSphericalHarmonics(fromIrradiance sphericalHarmonicsLevel: Int)
init · iOS 9.0+

init

TypeScript
static initReflectiveTextureIrradianceTexture(reflectiveTexture?: (MDLTexture) | null, irradianceTexture?: (MDLTexture) | null): MDLLightProbe
Swift declaration
init(reflectiveTexture: MDLTexture?, irradianceTexture: MDLTexture?)
get · iOS 9.0+

irradianceTexture

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

reflectiveTexture

TypeScript
get reflectiveTexture(): (MDLTexture) | null
Swift declaration
var reflectiveTexture: 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.

MDLLightProbe.init()

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

All ModelIO types →