Navigation
API > API/Developer > API/Developer/NaniteUtilities
Linearly filtering SGGX, which is the same as using the covariance matrix, directly is a decent fit. Reprojecting area to eigenvectors can be better but requires a second pass.
| Name | TSGGX |
| Type | struct |
| Header File | /Engine/Source/Developer/NaniteUtilities/Public/SGGX.h |
| Include Path | #include "SGGX.h" |
Syntax
template<typename T>
struct TSGGX
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSGGX () |
SGGX.h | ||
TSGGX
(
const TVector< T >& Normal |
SGGX.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TVector | UE::Math::TVector< U > | SGGX.h | |
| TVector2 | UE::Math::TVector2< U > | SGGX.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| xx | T | SGGX.h | ||
| xy | T | SGGX.h | ||
| xz | T | SGGX.h | ||
| yy | T | SGGX.h | ||
| yz | T | SGGX.h | ||
| zz | T | SGGX.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EigenSolve
(
TVector< T >& Values, |
SGGX.h | ||
void FitIsotropic
(
TVector< T >& Center, |
SGGX.h | ||
T ProjectedArea
(
const TVector< T >& Direction |
SGGX.h | ||
T SurfaceArea () |
SGGX.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T SurfaceArea
(
const TVector< T >& EigenValues |
SGGX.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSGGX operator*
(
T Scalar |
SGGX.h | ||
TSGGX & operator*=
(
T Scalar |
SGGX.h | ||
TSGGX & operator/=
(
T Scalar |
SGGX.h | ||
| SGGX.h | |||
TSGGX & operator+=
(
const TSGGX& Other |
SGGX.h | ||
TSGGX & operator+=
(
const TVector< T >& Normal |
SGGX.h |