Add a visualization to the scene.
Signature:
addVisualize(visualize: Visualize): void;
Parameter | Description |
---|---|
visualize | Must be one of Modelo.Scene3D.Visualize object. |
Returns:
void
const metaball = new Modelo.Scene3D.Visualize.MetaBall(viewer.getRenderScene());
metaball.setParameter("points", data);
metaball.setParameter("width", 512);
metaball.setParameter("height", 512);
metaball.setParameter("contour", true);