Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TVector
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include | #include "Math/Vector.h" |
static T EvaluateBezier
(
const TVector < T > * ControlPoints,
int32 NumPoints,
TArray < TVector < T > > & OutPoints
)
Remarks
Generates a list of sample points on a Bezier curve defined by 2 points. The path length.
Parameters
| Name | Description |
|---|---|
| ControlPoints | Array of 4 FVectors (vert1, controlpoint1, controlpoint2, vert2). |
| NumPoints | Number of samples. |
| OutPoints | Receives the output samples. |