These files show how stages with multiple root prims behave.
multiple_root_prims_no_defaultPrim.usda has two root prims and no defaultPrim
set.
multiple_root_prims_no_defaultPrim.usda, usdrecord 22.08
multiple_root_prims_with_defaultPrim.usda has two root prims and one of them is set as defaultPrim
.
multiple_root_prims_no_defaultPrim.usda, usdrecord 22.08
#usda 1.0
(
customLayerData = {
string copyright = "Copyright 2022 Apple Inc. All rights reserved."
}
defaultPrim = "Sphere"
upAxis = "Y"
metersPerUnit = 0.01
)
def Cube "Cube"
{
float3[] extent = [(-1, -1, -1), (1, 1, 1)]
double size = 2
}
def Sphere "Sphere"
{
float3[] extent = [(-1, -1, -1), (1, 1, 1)]
double radius = 1
double3 xformOp:translate = (2, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate"]
}