Ark Server API (ASA) - Wiki
|
#include <SHMath.h>
Public Member Functions | |
TSHVectorRGB () | |
template<int32 OtherOrder> | |
TSHVectorRGB (const TSHVectorRGB< OtherOrder > &Other) | |
TSHVector< MaxSHOrder > | GetLuminance () const |
void | Desaturate (float DesaturateFraction) |
FLinearColor | CalcIntegral () const |
void | ApplyWindowing (float Lambda) |
bool | AreFloatsValid () const |
FORCEINLINE TSHVectorRGB & | operator+= (const TSHVectorRGB &InB) |
FORCEINLINE TSHVectorRGB & | operator-= (const TSHVectorRGB &InB) |
FORCEINLINE TSHVectorRGB & | operator*= (const float &Scalar) |
void | AddIncomingRadiance (const FLinearColor &IncomingRadiance, float Weight, const FVector4 &WorldSpaceDirection) |
void | AddAmbient (const FLinearColor &Intensity) |
Public Attributes | |
TSHVector< MaxSHOrder > | R |
TSHVector< MaxSHOrder > | G |
TSHVector< MaxSHOrder > | B |
A vector of colored spherical harmonic coefficients.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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 |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
TSHVector<MaxSHOrder> TSHVectorRGB< MaxSHOrder >::B |
TSHVector<MaxSHOrder> TSHVectorRGB< MaxSHOrder >::G |
TSHVector<MaxSHOrder> TSHVectorRGB< MaxSHOrder >::R |