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.

showtree(x, ...)
# S3 method for gltf
showtree(x, ...)
# S3 method for rglscene
showtree(x, transform = FALSE, ...)

Arguments

x

A "gltf" or "rglscene" object.

transform

Whether to show the transform associated with a subscene.

...

Additional arguments, currently unused.