| mesh_entry_to_mesh3d | R Documentation |
Converts the internal mesh_entry list structure (as built by [make_mesh_entry()]) into an [rgl::tmesh3d()] object for rgl rendering.
mesh_entry_to_mesh3d(mesh_entry, ...)
mesh_entry |
A mesh entry list with vertices, faces, colors, colorMode, and opacity. |
... |
Material properties merged into the 'material' list of [rgl::tmesh3d()]. Overrides defaults ('specular = "black"', 'shininess = 128'). See [rgl::material3d()] for all options. |
An rgl 'mesh3d' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.