Instance Property

sphericalHarmonicsLevel

The number of levels of spherical harmonics information in the light probe.

Declaration

var sphericalHarmonicsLevel: Int { get }

Discussion

Each level of spherical harmonics contains more coefficients, and thus affects the layout of the data containing those coefficients. For details, see the sphericalHarmonicsCoefficients property.

See Also

Working with Spherical Harmonics

func generateSphericalHarmonics(fromIrradiance: Int)

Generates spherical harmonics information based on the light probe’s irradiance texture.

var sphericalHarmonicsCoefficients: Data?

Data containing the spherical harmonics coefficients for the light.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software