Menu - Top - Home - Donate to Me

H3DU.CurveEval

Back to documentation index.

H3DU.CurveEval()

Deprecated: Use H3DU.CurveBuilder instead.

An evaluator of curve evaluator objects for generating vertex positions and colors of a curve.

For more information, see the Parametric Curves and Parametric Surfaces tutorial.

Methods

H3DU.CurveEval#color(evaluator)

Specifies a parametric curve function for generating color values.

Parameters

Return Value

This object. (Type: H3DU.CurveEval)

H3DU.CurveEval#evalCurve(mesh, [mode], [n], [u1], [u2])

Generates vertices and attribute values that follow a parametric curve function.

Parameters

Return Value

This object. (Type: H3DU.CurveEval)

H3DU.CurveEval#evalOne(mesh, u)

Generates vertex positions and attributes based on a point in a parametric curve.

Parameters

Return Value

This object. (Type: H3DU.CurveEval)

H3DU.CurveEval#normal(evaluator)

Specifies a parametric curve function for generating normals.

Parameters

Return Value

This object. (Type: H3DU.CurveEval)

H3DU.CurveEval#texCoord(evaluator)

Specifies a parametric curve function for generating texture coordinates.

Parameters

Return Value

This object. (Type: H3DU.CurveEval)

H3DU.CurveEval#vertex(evaluator)

Specifies a curve evaluator object for generating the vertex positions of a parametric curve.

Parameters

Return Value

This object. (Type: H3DU.CurveEval)

Back to documentation index.