Class: Bezier3D
3D Bezier Curve
Constructors
Methods
Constructors
constructor
• new Bezier3D(): Bezier3D
Returns
Methods
calculateCubicBezierPoint
▸ calculateCubicBezierPoint(t
, p0
, c1
, c2
, p3
): Vector3
get cubic curve point value from t at bezier data
Parameters
Name | Type | Description |
---|---|---|
t | number | interval value |
p0 | Vector3 | start point |
c1 | Vector3 | left control point |
c2 | Vector3 | right control point |
p3 | Vector3 | end point |
Returns
cubic curve point
Defined in
bezierPoint
▸ bezierPoint(t
, p0
, c1
, p1
): Vector3
get curve point from three point bezier curve
Parameters
Name | Type | Description |
---|---|---|
t | number | interval value |
p0 | Vector3 | start point |
c1 | Vector3 | contrl point |
p1 | Vector3 | end point |
Returns
get bezier point at curve