View source: R/get_trunk_file.R
get_trunk_file | R Documentation |
This function retrieves a trunk OBJ file. The trunk OBJ file can be used to create a tree trunk in a 3D scene. The function has an option to scale the trunk model based on the radius.
get_trunk_file(scaled = TRUE, offset = TRUE)
scaled |
Default |
offset |
Default |
Returns the filename of the selected OBJ file (as a .txt file) for the tree trunk. This file can be used to create tree trunk models in a 3D scene.
# Fetch an trunk OBJ path
get_trunk_file()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.