Class SphericalHarmonicsL2Utils
A collection of utility functions used to access and set SphericalHarmonicsL2 in a more verbose way.
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class SphericalHarmonicsL2Utils
Methods
Name | Description |
---|---|
Get |
Get a spherical harmonics coefficient. |
Get |
Returns the L1 coefficients organized in such a way that are swizzled per channel rather than per coefficient. |
Get |
Returns all the L2 coefficients. |
Set |
Set a spherical harmonics coefficient. |
Set |
Set L0 coefficient. |
Set |
Set all L1 coefficients per channel. |
Set |
Set the blue channel for each of the L1 coefficients. |
Set |
Set the green channel for each of the L1 coefficients. |
Set |
Set the red channel for each of the L1 coefficients. |