mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
25 lines
589 B
Plaintext
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"
|
|
)
|
|
{
|
|
}
|
|
}
|