Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/AnimGraphRuntime/Public/RBF/RBFInterpolator.h |
Include |
#include "RBF/RBFInterpolator.h" |
static bool GetIdenticalNodePairs
(
const TArrayView< T > & InNodes,
WeightFuncT InWeightFunc,
TArray< TTuple< int, int >> & OutInvalidPairs
)
Returns a list of integer pairs indicating which distinct pair of nodes have the same weight as a pair of the same node. These result in an ill-formed coefficient matrix which kills the interpolation. The user can then either simply remove one of the pairs and retry, or warn the user that they have an invalid setup.