Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/SHMath.h |
Include |
#include "Math/SHMath.h" |
template<int32 Order>
class TSHVector
A vector of spherical harmonic coefficients.
Name | Description | ||
---|---|---|---|
|
float[NumTotalF... |
V |
Name | Description | ||
---|---|---|---|
|
AmbientFunction() |
The ambient incident lighting function. |
|
|
ApplyWindowing ( |
||
|
AreFloatsValid() |
||
|
CalcDiffuseTransfer ( |
||
|
float |
CalcIntegral() |
Calculates the integral of the function over the surface of the sphere. |
|
float |
FindWindowingLambda ( |
|
|
GetMaximumDirection() |
Compute the direction which the spherical harmonic is highest at. |
|
|
Normalize() |
Scales the function uniformly so its integral equals one. |
|
|
TSHVector< 2... |
SHBasisFunction ( |
Specialization for 2nd order to avoid expensive trig functions. |
|
TSHVector< 3... |
SHBasisFunction ( |
Specialization for 3rd order to avoid expensive trig functions. |
|
SHBasisFunction ( |
Returns the value of the SH basis L,M at the point on the sphere defined by the unit vector Vector. |
Name | Description | ||
---|---|---|---|
|
operator*= ( |
In-place scalar multiplication operator. |
|
|
operator/= ( |
In-place scalar division operator. |
|
|
operator+= ( |
In-place addition operator. |
|
|
operator-= ( |
In-place subtraction operator. |
Name |
Description |
---|---|
ConstantBasisIntegral |
The integral of the constant SH basis. |
MaxSHBasis |
|
MaxSHOrder |
|
NumComponentsPerSIMDVector |
|
NumSIMDVectors |
|
NumTotalFloats |