Instance Property

sphericalHarmonicsLevel

The number of levels of generated spherical harmonics information.

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

Interpreting the Light Web as Spherical Harmonics

func generateSphericalHarmonics(fromLight: Int)

Generates spherical harmonics information based on the light’s photometry data.

var sphericalHarmonicsCoefficients: Data?

Data containing spherical harmonics coefficients that describe the light’s intensity in all directions.