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:
-
codeStringJavascript code that receive (u: number, v: number, target?: Vector3) as parameters, the target paramter might be undefined.
-
slicesNumberThe count of slices to use for the parametric function.
-
stacksNumberThe count of stacks to use for the parametric function.
