Navigation
API > API/Runtime > API/Runtime/SignalProcessing
A simple curve class that takes FVector2D points Required to decouple from Engine module
| Name | FLinearCurve |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/AudioLinearCurve.h |
| Include Path | #include "DSP/AudioLinearCurve.h" |
Syntax
class FLinearCurve
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearCurve () |
DSP/AudioLinearCurve.h | ||
FLinearCurve
(
const TArray< FVector2D >& InCurve |
DSP/AudioLinearCurve.h | ||
FLinearCurve
(
TArray< FVector2D >&& InCurve |
DSP/AudioLinearCurve.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLinearCurve() |
DSP/AudioLinearCurve.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Points | TArray< FVector2D > | DSP/AudioLinearCurve.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPoint
(
const FVector2D& InPoint |
Adds individual points. | DSP/AudioLinearCurve.h | |
void AddPoints
(
const TArray< FVector2D >& InPoints |
DSP/AudioLinearCurve.h | ||
void ClearPoints() |
Clears the points array. | DSP/AudioLinearCurve.h | |
bool Eval
(
float InDomain, |
Evaluates the curve with the given domain. | DSP/AudioLinearCurve.h | |
const TArray< FVector2D > & GetCurvePoints() |
Retrieves curve array. | DSP/AudioLinearCurve.h | |
int32 Num() |
Returns the number of points in the curve. | DSP/AudioLinearCurve.h | |
void SetCurvePoints
(
const TArray< FVector2D >& InPoints |
Sets curve array. | DSP/AudioLinearCurve.h | |
void SetCurvePoints
(
TArray< FVector2D >&& InPoints |
DSP/AudioLinearCurve.h |