UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::MovieScene::Interpolation::TInterpSolutions< T, MinN > Struct Template Reference

#include <MovieSceneInterpolation.h>

Public Member Functions

template<int N>
requires (N >= MinN)
 TInterpSolutions (T(&In)[N])
 
template<int OtherN>
requires (OtherN <= MinN)
 operator TInterpSolutions< T, OtherN > () const
 
T & operator[] (int Index) const
 

Friends

template<typename U , int OtherN>
struct TInterpSolutions
 

Detailed Description

template<typename T, int MinN>
struct UE::MovieScene::Interpolation::TInterpSolutions< T, MinN >

Template structure used for representing an array of solutions with a minimum size

For example: // An array with at least 3 elements, varifyable at compile-time int32 Solve3(TInterpSolutions<double, 3> Solutions) { Solutions[0] = 0.0; Solutions[1] = 1.0; Solutions[2] = 2.0; return 3; } int32 Solve4(TInterpSolutions<double, 4> Solutions);

double Solutions[8]; Solve3(Solutions); Solve4(Solutions);

Constructor & Destructor Documentation

◆ TInterpSolutions()

template<typename T , int MinN>
template<int N>
requires (N >= MinN)
UE::MovieScene::Interpolation::TInterpSolutions< T, MinN >::TInterpSolutions ( T(&)  In[N])
inline

Construction from a c-style array with a size of at least MinN

Member Function Documentation

◆ operator TInterpSolutions< T, OtherN >()

template<typename T , int MinN>
template<int OtherN>
requires (OtherN <= MinN)
UE::MovieScene::Interpolation::TInterpSolutions< T, MinN >::operator TInterpSolutions< T, OtherN > ( ) const
inline

Conversion to another array of size <= this

◆ operator[]()

template<typename T , int MinN>
T & UE::MovieScene::Interpolation::TInterpSolutions< T, MinN >::operator[] ( int  Index) const
inline

Access the nth element of this array

Friends And Related Symbol Documentation

◆ TInterpSolutions

template<typename T , int MinN>
template<typename U , int OtherN>
friend struct TInterpSolutions
friend

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