NaniteUtilities

Unreal Engine C++ API Reference > Developer

Classes

Type Name Description
Public class FAdaptiveTessellator  
Public struct FAdjacency  
Public class FDisplacementMap  
Public class FEdgeHash Find edge with opposite direction that shares these 2 verts.
Public struct FLerpVert Lerpable version of FStaticMeshBuildVertex.
Public struct TAffine [ Thonat et al. 2021, "Tessellation-Free Displacement Mapping for Ray Tracing" ] [ de Figueiredo and Stolf 2004, "Affine Arithmetic: Concepts and Applications" ] [ Rump and Kashiwagi 2015, "Implementation and improvements of affine arithmetic" ]

Functions

Type Name Description  
UE::Math::TV... AbsHelper::Abs ( const UE::Math::TVector4< T >& A )    
UE::Math::TV... AbsHelper::Abs ( const UE::Math::TVector< T >& A )    
UE::Math::TV... AbsHelper::Abs ( const UE::Math::TVector2< T >& A )    
T AbsHelper::Abs ( T A )    
TAffine< flo... Clamp ( const TAffine< float, Num >& x, float Min, float Max )    
TAffine< flo... InvSqrt ( const TAffine< float, Num >& x )    
int32 Nanite::ApproxNumTris ( int32 a, int32 b, int32 c ) A,b,c are tessellation factors for each edge  
float Nanite::Barycentric::DistanceToEdge ( float Barycentric, float EdgeLength, float TriangleArea ) https://math.stackexchange.com/questions/3748903/closest-point-to-triangle-edge-with-barycentric-coordinates  
float Nanite::Barycentric::LengthSquared ( const FVector3f& Barycentrics0, const FVector3f& Barycentrics1, const FVector3f& EdgeLengthsSqr ) [ Schindler and Chen 2012, "Barycentric Coordinates in Olympiad Geometry" https://web.evanchen.cc/handouts/bary/bary-full.pdf ]  
float Nanite::Barycentric::SubtriangleArea ( const FVector3f& Barycentrics0, const FVector3f& Barycentrics1, const FVector3f& Barycentrics2, float TriangleArea )    
uint32 Nanite::Cycle3 ( uint32 Value, uint32 Offset )    
uint32 Nanite::Cycle3 ( uint32 Value )    
float Nanite::EquilateralArea ( float EdgeLength )    
float Nanite::EquilateralEdgeLength ( float Area )    
uint32 Nanite::HashPosition ( const FVector3f& Position )    
void Nanite::SubtriangleBarycentrics ( uint32 TriX, uint32 TriY, uint32 FlipTri, uint32 NumSubdivisions, FVector3f Barycentrics )    
TAffine< T, ... Normalize ( const TAffine< T, Num >& x )    
TAffine< T, ... operator* ( const TAffine< T, Num >& A, const TAffine< U, Num >& B )    
TAffine< flo... [operator ](API\Developer\NaniteUtilities\op_bitor) ( const TAffine< T, Num >& A, const TAffine< T, Num >& B )  
void RasterizeTri ( const FVector3f Verts, const FIntRect& ScissorRect, uint32 SubpixelDilate, FWritePixel WritePixel )    
FIntPoint ToIntPoint ( const FVector3f& V )    

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library