View source: R/displace_mesh.R
displace_mesh | R Documentation |
Displace a Mesh
displace_mesh(
mesh,
displacement_texture,
displacement_scale = 1,
displacement_vector = FALSE,
id = NA,
verbose = TRUE
)
mesh |
The mesh. |
displacement_texture |
Image or matrix/array that will be used to displace the mesh |
displacement_scale |
Default |
displacement_vector |
Default |
id |
Default |
verbose |
Default |
raymesh object
if(run_documentation()) {
#Let's construct a mesh from the volcano dataset
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.