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