A vector of colored spherical harmonic coefficients. 更多...
#include <SHMath.h>
Public 成员函数 | |
| void | AddAmbient (const FLinearColor &Intensity) |
| Adds ambient lighting. | |
| void | AddIncomingRadiance (const FLinearColor &IncomingRadiance, float Weight, const FVector4 &WorldSpaceDirection) |
| Adds an impulse to the SH environment. | |
| FLinearColor | CalcIntegral () const |
| Calculates the integral of the function over the surface of the sphere. | |
| TSHVector< MaxSHOrder > | GetLuminance () const |
| Calculates greyscale spherical harmonic coefficients. | |
| FORCEINLINE TSHVectorRGB & | operator*= (const float &Scalar) |
| In-place scalar multiplication operator. 更多... | |
| FORCEINLINE TSHVectorRGB & | operator+= (const TSHVectorRGB &InB) |
| In-place addition operator. 更多... | |
| FORCEINLINE TSHVectorRGB & | operator-= (const TSHVectorRGB &InB) |
| In-place subtraction operator. 更多... | |
友元 | |
| FORCEINLINE FLinearColor | Dot (const TSHVectorRGB &A, const TSHVector< MaxSHOrder > &InB) |
| Dot product operator. | |
| FORCEINLINE TSHVectorRGB | operator* (const FLinearColor &Color, const TSHVectorRGB &A) |
| Color multiplication operator. | |
| FORCEINLINE TSHVectorRGB | operator* (const float &Scalar, const TSHVectorRGB &A) |
| Scalar multiplication operator. 更多... | |
| FORCEINLINE TSHVectorRGB | operator* (const TSHVectorRGB &A, const FLinearColor &Color) |
| Color multiplication operator. | |
| FORCEINLINE TSHVectorRGB | operator* (const TSHVectorRGB &A, const float &Scalar) |
| Scalar multiplication operator. 更多... | |
| FORCEINLINE TSHVectorRGB | operator+ (const TSHVectorRGB &A, const TSHVectorRGB &InB) |
| Addition operator. | |
| FORCEINLINE TSHVectorRGB | operator- (const TSHVectorRGB &A, const TSHVectorRGB &InB) |
| Subtraction operator. | |
| FORCEINLINE TSHVectorRGB | operator/ (const TSHVectorRGB &A, const float &InB) |
| Division operator. | |
A vector of colored spherical harmonic coefficients.
|
inline |
In-place scalar multiplication operator.
Changed from (*this = *this * InB;) to separate all calc to avoid LHS Now it calls directly *= operator in TSHVector (avoid TSHVectorRGB * operator)
|
inline |
In-place addition operator.
Changed from (*this = *this + InB;) to separate all calc to avoid LHS Now it calls directly += operator in TSHVector (avoid TSHVectorRGB + operator)
|
inline |
In-place subtraction operator.
Changed from (*this = *this - InB;) to separate all calc to avoid LHS Now it calls directly -= operator in TSHVector (avoid TSHVectorRGB - operator)
|
friend |
Scalar multiplication operator.
Changed to float& from float to avoid LHS
|
friend |
Scalar multiplication operator.
Changed to float& from float to avoid LHS