Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/ComputeCurveTangent
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/InterpCurvePoint.h |
| Include | #include "Math/InterpCurvePoint.h" |
void ComputeCurveTangent
(
float PrevTime,
const FTwoVectors & PrevPoint,
float CurTime,
const FTwoVectors & CurPoint,
float NextTime,
const FTwoVectors & NextPoint,
float Tension,
bool bWantClamping,
FTwoVectors & OutTangent
)
Remarks
Computes a tangent for the specified control point. Special case for FTwoVectors types; supports clamping.