Method GetCoefficient
GetCoefficient(SphericalHarmonicsL2, int)
Get a spherical harmonics coefficient.
Declaration
public static Vector3 GetCoefficient(SphericalHarmonicsL2 sh, int index)
Parameters
Type | Name | Description |
---|---|---|
SphericalHarmonicsL2 | sh | The SphericalHarmonicsL2 data structure to get information from. |
int | index | The index of the coefficient that is requested (must be less than 9). |
Returns
Type | Description |
---|---|
Vector3 | The value of the requested coefficient. |