Function CommandBuilder.EvaluateCubicBezier

EvaluateCubicBezier (float3 p0, float3 p1, float3 p2, float3 p3, float t)

Returns a point on a cubic bezier curve.

Public Static
float3 EvaluateCubicBezier (

float3

p0

float3

p1

float3

p2

float3

p3

float

t

)

Returns a point on a cubic bezier curve.

t is clamped between 0 and 1