UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TIndexedWeightMap< RealType > Class Template Reference

#include <WeightMapTypes.h>

Public Member Functions

int32 Num () const
 
void SetNum (int32 NewNum)
 
RealType GetValueUnsafe (int32 Index) const
 
RealType GetValue (int32 Index) const
 
RealType GetInterpValueUnsafe (const FIndex3i &Indices, const FVector3d &BaryCoords) const
 
RealType GetInterpValue (const FIndex3i &Indices, const FVector3d &BaryCoords) const
 
void InvertWeightMap (TInterval1< RealType > Range=TInterval1< RealType >((RealType) 0,(RealType) 1.0))
 

Public Attributes

RealType DefaultValue
 
TArray< RealType > Values
 

Detailed Description

template<typename RealType>
class UE::Geometry::TIndexedWeightMap< RealType >

FIndexedWeightMap stores an array of values, the intention is that these are "weights" on indices, for example per-vertex weights.

Member Function Documentation

◆ GetInterpValue()

template<typename RealType >
RealType UE::Geometry::TIndexedWeightMap< RealType >::GetInterpValue ( const FIndex3i Indices,
const FVector3d BaryCoords 
) const
inline

◆ GetInterpValueUnsafe()

template<typename RealType >
RealType UE::Geometry::TIndexedWeightMap< RealType >::GetInterpValueUnsafe ( const FIndex3i Indices,
const FVector3d BaryCoords 
) const
inline

◆ GetValue()

template<typename RealType >
RealType UE::Geometry::TIndexedWeightMap< RealType >::GetValue ( int32  Index) const
inline

◆ GetValueUnsafe()

template<typename RealType >
RealType UE::Geometry::TIndexedWeightMap< RealType >::GetValueUnsafe ( int32  Index) const
inline

◆ InvertWeightMap()

template<typename RealType >
void UE::Geometry::TIndexedWeightMap< RealType >::InvertWeightMap ( TInterval1< RealType >  Range = TInterval1<RealType>((RealType)0, (RealType)1.0))
inline

◆ Num()

template<typename RealType >
int32 UE::Geometry::TIndexedWeightMap< RealType >::Num ( ) const
inline

◆ SetNum()

template<typename RealType >
void UE::Geometry::TIndexedWeightMap< RealType >::SetNum ( int32  NewNum)
inline

Member Data Documentation

◆ DefaultValue

template<typename RealType >
RealType UE::Geometry::TIndexedWeightMap< RealType >::DefaultValue

◆ Values

template<typename RealType >
TArray<RealType> UE::Geometry::TIndexedWeightMap< RealType >::Values

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