/Engine/Source/Runtime/GeometryCore/Public/VectorUtil.h
Calculate gradient of scalar field values fi,fj,fk defined at corners of triangle Vi,Vj,Vk and interpolated across triangle using linear basis functions. This gradient is a 3D vector lying in the plane of the triangle (or zero if field is constant).
gradient (3D vector) lying in plane of triangle.
namespace UE { namespace Geometry { namespace VectorUtil { template<typename RealType> [TVector](API\Runtime\Core\Math\TVector)< RealType > UE::Geometry::VectorUtil::TriGradient ( [TVector](API\Runtime\Core\Math\TVector)< RealType > Vi, [TVector](API\Runtime\Core\Math\TVector)< RealType > Vj, [TVector](API\Runtime\Core\Math\TVector)< RealType > Vk, RealType fi, RealType fj, RealType fk ) } } }