Files
tinyusdz/tests/usda/sceneLibrary-001.usda

25 lines
589 B
Plaintext

#usda 1.0
# From https://developer.apple.com/documentation/realitykit/scenelibrary
def Xform "Root" (
# Because you can apply `kind` to any type of prim, that allows any prim to be a scene.
kind = "sceneLibrary"
)
{
# `PrimaryScene` is immediately active due to the `def` keyword.
def Xform "PrimaryScene" (
# `sceneName` can be any human-readable string.
sceneName = "Primary Scene"
)
{
}
# `SecondaryScene` is inactive due to the over keyword.
over Xform "SecondaryScene" (
sceneName = "Secondary Scene"
)
{
}
}