ParametricBufferGeometry Class
Parametric bufffer geometry are constructed from javascript code describing a parametric surface.
A parametric function receives a (u, v) coordinate value and returns a Vector3 with the surface point for those values.
(u, v) values are normalized and might need readjusting to match the parametric function generator domain.
Constructor
ParametricBufferGeometry
(
-
code
-
slices
-
stacks
Parameters:
-
code
StringJavascript code that receive (u: number, v: number, target?: Vector3) as parameters, the target paramter might be undefined.
-
slices
NumberThe count of slices to use for the parametric function.
-
stacks
NumberThe count of stacks to use for the parametric function.