Navigation
API > API/Runtime > API/Runtime/GeometryCore
Description
Helper methods for use in adaptive tessellation callbacks in displacement policy for TAdaptiveTesselator and TParallelRefinement. Get bounds of UVs in a UV subtriangle
| Name | UE::Geometry::TessellationUtil::CalculateUVBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Tessellation/AdaptiveMetrics.h |
| Include Path | #include "Tessellation/AdaptiveMetrics.h" |
namespace UE
{
namespace Geometry
{
namespace TessellationUtil
{
void UE::Geometry::TessellationUtil::CalculateUVBounds
(
const FVector3f Barycentrics,
const FVector2f VertexUVs,
FVector2f OutUVBounds
)
}
}
}
Parameters
| Name | Remarks |
|---|---|
| Barycentrics | Barycentric coordinates of three vertices of a subtriangle |
| VertexUVs | UVs of a triangle |
| UVBounds | component-wise bounds of UV coordinates of subtriangle |