These assets show and test how compositon arcs and related concepts work.
payload contains assets to test payloading files and prims.
reference contains assets to test referencing files and prims.
subLayer contains assets to test sublayering files.
active.usda shows an example of the active
prim metadata. One inactive (active = false
), red cube and one active (active = true
), green cube exist in the stage.
active.usda, usdrecord 22.08
class_inherit.usda shows how to use a class
and what effect overriding a class attribute has in an inheriting prim.
class_inherit.usda, usdrecord 22.08
inherit_and_specialize.usda shows the difference between inherits
and specializes
.
inherit_and_specialize.usda, usdrecord 22.08
over.usda shows the difference between over
s and def
s.
over.usda, usdrecord 22.08
purpose.usda shows an example of the purpose
prim attribute. There are four cubes with different purpose
tokens set:
CubeIsGuide
with token purpose = "guide"
, colored redCubeIsRender
with token purpose = "render"
, colored greenCubeIsProxy
with token purpose = "proxy"
, colored blueCubeIsOther
with token purpose = "other"
, colored yellowpurpose.usda, usdrecord 22.08
#usda 1.0
(
customLayerData = {
string copyright = "Copyright 2022 Apple Inc. All rights reserved."
}
subLayers = [
@_parent_stage.usda@
]
upAxis = "Y"
metersPerUnit = 0.01
defaultPrim = "World"
)
over "World"
{
over "Cube"
{
color3f[] primvars:displayColor = [(0, 0, 0.8)]
}
def Cube "definedCube"
{
double3 xformOp:translate = (3, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate"]
}
over Cube "undefinedCube"
{
double3 xformOp:translate = (6, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate"]
}
}