Struct SphericalHarmonicsL1
Structure holding Spherical Harmonic L1 coefficient.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public struct SphericalHarmonicsL1
Fields
Name | Description |
---|---|
shAb | Blue channel of each of the three L1 SH coefficient. |
shAg | Green channel of each of the three L1 SH coefficient. |
shAr | Red channel of each of the three L1 SH coefficient. |
zero | A set of L1 coefficients initialized to zero. |
Methods
Name | Description |
---|---|
Equals(object) | Compare this SphericalHarmonicsL1 with an object. |
GetHashCode() | Produces an hash code of the SphericalHarmonicsL1. |
Operators
Name | Description |
---|---|
operator +(SphericalHarmonicsL1, SphericalHarmonicsL1) | Sum two SphericalHarmonicsL1. |
operator /(SphericalHarmonicsL1, float) | Divide two SphericalHarmonicsL1. |
operator ==(SphericalHarmonicsL1, SphericalHarmonicsL1) | Compare two SphericalHarmonicsL1. |
operator !=(SphericalHarmonicsL1, SphericalHarmonicsL1) | Check two SphericalHarmonicsL1 inequality. |
operator *(SphericalHarmonicsL1, float) | Multiply two SphericalHarmonicsL1. |
operator -(SphericalHarmonicsL1, SphericalHarmonicsL1) | Subtract two SphericalHarmonicsL1. |