Files
CartoonRPG/Library/PackageCache/com.unity.visualeffectgraph@2973a8ac1070/Documentation~/Operator-SampleBezier.md
Caleb Sandford deQuincey 02c4b5ab66 Adding in new packages
2025-06-05 22:59:18 +01:00

1.2 KiB

Sample Bezier

Menu Path : Operator > Math > Vector

The Sample Bezier Operator performs a four-point bezier interpolation based on four positions and a value to represent the progress through the curve. It returns the interpolated position and the position's tangent, which is a vector which points along the bezier curve at the position.

Operator properties

Input Type Description
T float The progression through the bezier curve.
A Position The source point of the Bezier
B Position The source tangent point of the bezier
C Position The target tangent point of the bezier
D Position The target point of the bezier
Output Type Description
Position Position The interpolated position on the bezier segment.
Tangent Vector The interpolated tangent on the bezier segment.