Class SphericalHarmonics
A spherical harmonics representation of a cubemap.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public class SphericalHarmonics : SphericalHarmonics<Color>
Constructors
SphericalHarmonics(Int32)
Create a new instance of Spherical Harmonics of provided order.
Declaration
public SphericalHarmonics(int order)
Parameters
System.Int32
order
The order of the harmonics |
Fields
BaseCoefficients
Base coefficients for SH.
Declaration
public static readonly float[] BaseCoefficients
Field Value
System.Single[]
|
Methods
Evaluate(Float3)
Evaluates the color for the specified direction.
Declaration
public override Color Evaluate(Float3 direction)
Parameters
Float3
direction
The direction to evaluate. |
Returns
Color
The color computed for this direction. |
Overrides
FlaxEngine.SphericalHarmonics<FlaxEngine.Color>.Evaluate(FlaxEngine.Float3)