Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/Color.h |
Include |
#include "Math/Color.h" |
Source |
/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static float EvaluateBezier
(
const FLinearColor * ControlPoints,
int32 NumPoints,
TArray< FLinearColor > & OutPoints
)
Generates a list of sample points on a Bezier curve defined by 2 points.
Path length.
Parameter |
Description |
---|---|
ControlPoints |
Array of 4 Linear Colors (vert1, controlpoint1, controlpoint2, vert2). |
NumPoints |
Number of samples. |
OutPoints |
Receives the output samples. |