Navigation
API > API/Runtime > API/Runtime/Core
A vector of colored spherical harmonic coefficients.
| Name | TSHVectorRGB |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Math/SHMath.h |
| Include Path | #include "Math/SHMath.h" |
Syntax
template<int32 MaxSHOrder>
class TSHVectorRGB
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSHVectorRGB () |
Math/SHMath.h | ||
TSHVectorRGB
(
const TSHVectorRGB< OtherOrder >& Other |
Math/SHMath.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| B | TSHVector< MaxSHOrder > | Math/SHMath.h | ||
| G | TSHVector< MaxSHOrder > | Math/SHMath.h | ||
| R | TSHVector< MaxSHOrder > | Math/SHMath.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAmbient
(
const FLinearColor& Intensity |
Adds ambient lighting. | Math/SHMath.h | |
void AddIncomingRadiance
(
const FLinearColor& IncomingRadiance, |
Adds an impulse to the SH environment. | Math/SHMath.h | |
void ApplyWindowing
(
float Lambda |
Math/SHMath.h | ||
bool AreFloatsValid() |
Math/SHMath.h | ||
FLinearColor CalcIntegral() |
Calculates the integral of the function over the surface of the sphere. | Math/SHMath.h | |
void Desaturate
(
float DesaturateFraction |
Math/SHMath.h | ||
TSHVector< MaxSHOrder > GetLuminance() |
Calculates greyscale spherical harmonic coefficients. | Math/SHMath.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSHVectorRGB & operator*=
(
const float& Scalar |
In-place scalar multiplication operator. | Math/SHMath.h | |
TSHVectorRGB & operator+=
(
const TSHVectorRGB& InB |
In-place addition operator. | Math/SHMath.h | |
TSHVectorRGB & operator-=
(
const TSHVectorRGB& InB |
In-place subtraction operator. | Math/SHMath.h |