Navigation
API > API/Runtime > API/Runtime/GeometryCore
Configured by MeshT and DisplacementPolicyT, which provide mesh topology functionality and evaluation/bounds of the displacement function.
See MinimalMeshTopology for an example topology implementation.
| Name | TAdaptiveTessellator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Tessellation/AdaptiveTessellator.h |
| Include Path | #include "Tessellation/AdaptiveTessellator.h" |
Syntax
template<typename MeshT, typename DisplacementPolicyT>
class TAdaptiveTessellator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAdaptiveTessellator
(
MeshT& InMesh, |
Initialize and run adaptive tessellation. | Tessellation/AdaptiveTessellator.h |
Structs
Enums
Public
| Name | Remarks |
|---|---|
| ERefinementMethod |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FIndex2i | UE::Geometry::FIndex2i | Tessellation/AdaptiveTessellator.h | |
| FIndex3i | UE::Geometry::FIndex3i | Tessellation/AdaptiveTessellator.h | |
| RealType | typename MeshT::RealType | Tessellation/AdaptiveTessellator.h | |
| VecType | typename MeshT::VecType | Tessellation/AdaptiveTessellator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DisplacementPolicy | DisplacementPolicyT & | Tessellation/AdaptiveTessellator.h | ||
| Displacements | TArray< VecType > | Tessellation/AdaptiveTessellator.h | ||
| FindRequests | TArray< uint32 > | Tessellation/AdaptiveTessellator.h | ||
| Mesh | MeshT & | Tessellation/AdaptiveTessellator.h | ||
| NumNewTriangles | std::atomic< uint32 > | Tessellation/AdaptiveTessellator.h | ||
| NumSplits | std::atomic< uint32 > | Tessellation/AdaptiveTessellator.h | ||
| Options | const FOptions & | Tessellation/AdaptiveTessellator.h | ||
| SplitRequests | TArray< uint32 > | Tessellation/AdaptiveTessellator.h | ||
| TriSplitRecords | TArray< FTriSplit > | Tessellation/AdaptiveTessellator.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T DistanceToEdge
(
T Barycentric, |
https://math.stackexchange.com/questions/3748903/closest-point-to-triangle-edge-with-barycentric-coordinates | Tessellation/AdaptiveTessellator.h | |
static T EquilateralArea
(
T EdgeLength |
Tessellation/AdaptiveTessellator.h | ||
static uint32 HashPosition
(
const FVector3f& Position |
Tessellation/AdaptiveTessellator.h | ||
static uint32 HashPosition
(
const FVector3d& Position |
Tessellation/AdaptiveTessellator.h | ||
static int32 NextEdge
(
int32 e |
Tessellation/AdaptiveTessellator.h | ||
static int32 PrevEdge
(
int32 e |
Tessellation/AdaptiveTessellator.h | ||
static T SubtriangleArea
(
const UE::Math::TVector< T >& Barycentrics0, |
Tessellation/AdaptiveTessellator.h |