UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
HeightField.cpp File Reference

Classes

class  Chaos::FHeightfieldRaycastVisitor
 
class  Chaos::THeightfieldSweepVisitor< GeomQueryType >
 
class  Chaos::THeightfieldSweepVisitorCCD< GeomQueryType >
 
struct  Chaos::FHeightNormalResult
 
struct  Chaos::F2DGridSet
 

Namespaces

namespace  Chaos
 
namespace  Chaos::CVars
 

Functions

template<typename BufferType , typename ToRealFuncType >
void Chaos::BuildGeomData (TArrayView< BufferType > BufferView, TArrayView< const uint8 > MaterialIndexView, int32 NumRows, int32 NumCols, const FVec3 &InScale, ToRealFuncType ToRealFunc, typename FHeightField::FDataType &OutData, FAABB3 &OutBounds)
 
template<typename BufferType , typename ToRealFuncType >
void Chaos::EditGeomData (TArrayView< BufferType > BufferView, int32 InBeginRow, int32 InBeginCol, int32 NumRows, int32 NumCols, ToRealFuncType ToRealFunc, typename FHeightField::FDataType &OutData, FAABB3 &OutBounds)
 
template<bool bFillHeight, bool bFillNormal>
FHeightNormalResult Chaos::GetHeightNormalAt (const FVec2 &InGridLocationLocal, const Chaos::FHeightField::FDataType &InGeomData, const TUniformGrid< Chaos::FReal, 2 > &InGrid)