showtree {rgl2gltf} | R Documentation |
Show the tree structure of nodes in a glTF object or rglscene object.
Description
glTF files contain nodes corresponding to objects and groups of objects in 3D scenes. They must be a tree or forest: a node can only have zero or one parent. This function displays that structure, or the similar structure for rglscene objects.
Usage
showtree(x, ...)
## S3 method for class 'gltf'
showtree(x, ...)
## S3 method for class 'rglscene'
showtree(x, transform = FALSE, ...)
Arguments
x |
A |
transform |
Whether to show the transform associated with a subscene. |
... |
Additional arguments, currently unused. |
[Package rgl2gltf version 1.0.3 Index]