UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TDistanceFieldToSkeletalField< InputBoundedImplicitType, RealType > Struct Template Reference

#include <ImplicitFunctions.h>

Public Member Functions

 TDistanceFieldToSkeletalField (InputBoundedImplicitType *DistanceField=nullptr, RealType FalloffDistance=10)
 
TAxisAlignedBox3< RealType > Bounds ()
 
RealType Value (const TVector< RealType > Pt)
 

Public Attributes

InputBoundedImplicitTypeDistanceField = nullptr
 
RealType FalloffDistance = 10
 

Static Public Attributes

static constexpr RealType ZeroIsocontour = (RealType)0.421875
 

Detailed Description

template<typename InputBoundedImplicitType, typename RealType>
struct UE::Geometry::TDistanceFieldToSkeletalField< InputBoundedImplicitType, RealType >

This class converts the interval [-falloff,falloff] to [0,1], Then applies Wyvill falloff function (1-t^2)^3. The result is a skeletal-primitive-like shape with the distance=0 isocontour lying just before midway in the range (at the .ZeroIsocontour constant)

Constructor & Destructor Documentation

◆ TDistanceFieldToSkeletalField()

UE::Geometry::TDistanceFieldToSkeletalField< InputBoundedImplicitType, RealType >::TDistanceFieldToSkeletalField ( InputBoundedImplicitType DistanceField = nullptr,
RealType  FalloffDistance = 10 
)
inline

Member Function Documentation

◆ Bounds()

◆ Value()

RealType UE::Geometry::TDistanceFieldToSkeletalField< InputBoundedImplicitType, RealType >::Value ( const TVector< RealType >  Pt)
inline

Member Data Documentation

◆ DistanceField

◆ FalloffDistance

RealType UE::Geometry::TDistanceFieldToSkeletalField< InputBoundedImplicitType, RealType >::FalloffDistance = 10

◆ ZeroIsocontour

constexpr RealType UE::Geometry::TDistanceFieldToSkeletalField< InputBoundedImplicitType, RealType >::ZeroIsocontour = (RealType)0.421875
staticconstexpr

The documentation for this struct was generated from the following file: