BezierCurve
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Parameters
options: BezierCurveOptions
Returns BezierCurve
Properties
readonlyquality
Accessors
publicarcLength
Returns number
publiccontrolPoints
Methods
clone
Returns BezierCurve
getNormal
Get the normal of the Bezier curve at a certain time
Parameters
time: number
Between 0-1
Returns Vector
getPoint
Get the point on the Bezier curve at a certain time
Parameters
time: number
Between 0-1
Returns Vector
getTangent
Get the tangent of the Bezier curve at a certain time
Parameters
time: number
Between 0-1
Returns Vector
getUniformNormal
Get the normal of the Bezier curve where the distance is uniformly distributed over time
Parameters
time: number
Returns Vector
getUniformPoint
Points are spaced uniformly across the length of the curve over time
Parameters
time: number
Returns Vector
getUniformTangent
Get the tangent of the Bezier curve where the distance is uniformly distributed over time
Parameters
time: number
Returns Vector
setControlPoint
Parameters
index: 0 | 1 | 2 | 3
point: Vector
Returns void
BezierCurve that supports cubic Bezier curves.