ComputeCurveTangent

Computes a tangent for the specified control point.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/InterpCurvePoint.h

Include

#include "Math/InterpCurvePoint.h"

Syntax

void ComputeCurveTangent
(
    float PrevTime,
    const FVector2D & PrevPoint,
    float CurTime,
    const FVector2D & CurPoint,
    float NextTime,
    const FVector2D & NextPoint,
    float Tension,
    bool bWantClamping,
    FVector2D & OutTangent
)

Remarks

Computes a tangent for the specified control point. Special case for FVector2D types; supports clamping.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss