Constructor SHCoefficients
SHCoefficients(SphericalHarmonicsL2)
Construct an instance of SHCoefficients
that represents the same spherical
harmonic coefficients as the parameter.
Declaration
public SHCoefficients(SphericalHarmonicsL2 sh)
Parameters
Type | Name | Description |
---|---|---|
SphericalHarmonicsL2 | sh | The spherical harmonic coefficients to initialize with. |
SHCoefficients(SphericalHarmonicsL2, Vector4)
Construct an instance of SHCoefficients
that represents the same spherical
harmonic coefficients as the parameter.
Declaration
public SHCoefficients(SphericalHarmonicsL2 sh, Vector4 probesOcclusion)
Parameters
Type | Name | Description |
---|---|---|
SphericalHarmonicsL2 | sh | The spherical harmonic coefficients to initialize with. |
Vector4 | probesOcclusion | The baked shadowing data to include with this set of spherical harmonic coefficients. |