engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 友元 | 所有成员列表
FInterpCurvePoint< T > 模板类 参考

Template for interpolation points. 更多...

#include <InterpCurvePoint.h>

Public 成员函数

 FInterpCurvePoint ()
 Default constructor (no initialization).
 
 FInterpCurvePoint (const float In, const T &Out)
 Constructor 更多...
 
 FInterpCurvePoint (const float In, const T &Out, const T &InArriveTangent, const T &InLeaveTangent, const EInterpCurveMode InInterpMode)
 Constructor 更多...
 
FORCEINLINE bool IsCurveKey () const
 

Public 属性

T ArriveTangent
 Tangent of curve arrive this point.
 
TEnumAsByte< EInterpCurveMode > InterpMode
 Interpolation mode between this point and the next one. 更多...
 
float InVal
 Float input value that corresponds to this key (eg. 更多...
 
T LeaveTangent
 Tangent of curve leaving this point.
 
T OutVal
 Output value of templated type when input is equal to InVal.
 

友元

bool operator!= (const FInterpCurvePoint &Point1, const FInterpCurvePoint &Point2)
 Compare inequality of two Curve Points
 
FArchive & operator<< (FArchive &Ar, FInterpCurvePoint &Point)
 Serializes the Curve Point. 更多...
 
bool operator== (const FInterpCurvePoint &Point1, const FInterpCurvePoint &Point2)
 Compare equality of two Curve Points
 

详细描述

template<class T>
class FInterpCurvePoint< T >

Template for interpolation points.

Interpolation points are used for describing the shape of interpolation curves.

参见
FInterpCurve
待办事项:
Docs: FInterpCurvePoint needs better function documentation.

构造及析构函数说明

◆ FInterpCurvePoint() [1/2]

template<class T >
FORCEINLINE FInterpCurvePoint< T >::FInterpCurvePoint ( const float  In,
const T &  Out 
)

Constructor

参数
Ininput value that corresponds to this key
OutOutput value of templated type
注解
uses linear interpolation

◆ FInterpCurvePoint() [2/2]

template<class T >
FORCEINLINE FInterpCurvePoint< T >::FInterpCurvePoint ( const float  In,
const T &  Out,
const T &  InArriveTangent,
const T &  InLeaveTangent,
const EInterpCurveMode  InInterpMode 
)

Constructor

参数
Ininput value that corresponds to this key
OutOutput value of templated type
InArriveTangentTangent of curve arriving at this point.
InLeaveTangentTangent of curve leaving from this point.
InInterpModeinterpolation mode to use

成员函数说明

◆ IsCurveKey()

template<class T >
FORCEINLINE bool FInterpCurvePoint< T >::IsCurveKey
返回
true if the key value is using a curve interp mode, otherwise false

友元及相关函数文档

◆ operator<<

template<class T >
FArchive & operator<< ( FArchive &  Ar,
FInterpCurvePoint< T > &  Point 
)
friend

Serializes the Curve Point.

参数
ArReference to the serialization archive.
PointReference to the curve point being serialized.
返回
Reference to the Archive after serialization.

类成员变量说明

◆ InterpMode

template<class T >
TEnumAsByte<EInterpCurveMode> FInterpCurvePoint< T >::InterpMode

Interpolation mode between this point and the next one.

参见
EInterpCurveMode

◆ InVal

template<class T >
float FInterpCurvePoint< T >::InVal

Float input value that corresponds to this key (eg.

time).


该类的文档由以下文件生成: