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
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
class_inherit.usda, usdrecord 22.08
inherit_and_specialize.usda shows the difference between inherits and specializes.
 inherit_and_specialize.usda, usdrecord 22.08
inherit_and_specialize.usda, usdrecord 22.08
over.usda shows the difference between overs and defs.
 over.usda, usdrecord 22.08
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 yellow purpose.usda, usdrecord 22.08
purpose.usda, usdrecord 22.08
#usda 1.0
(
    customLayerData = {
        string copyright = "Copyright 2022 Apple Inc. All rights reserved."
    }
    defaultPrim = "World"
    upAxis = "Y"
    metersPerUnit = 0.01
)
def Scope "World"
{
    def Cube "CubeIsGuide"
    {
        color3f[] primvars:displayColor = [(0.8, 0, 0)]
        token purpose = "guide"
        double3 xformOp:translate = (0, 0, 0)
        uniform token[] xformOpOrder = ["xformOp:translate"]
    }
    def Cube "CubeIsRender"
    {
        color3f[] primvars:displayColor = [(0, 0.8, 0)]
        token purpose = "render"
        double3 xformOp:translate = (3, 0, 0)
        uniform token[] xformOpOrder = ["xformOp:translate"]
    }
    def Cube "CubeIsProxy"
    {
        color3f[] primvars:displayColor = [(0, 0, 0.8)]
        token purpose = "proxy"
        double3 xformOp:translate = (6, 0, 0)
        uniform token[] xformOpOrder = ["xformOp:translate"]
    }
    def Cube "CubeIsOther"
    {
        color3f[] primvars:displayColor = [(0.8, 0.8, 0)]
        token purpose = "other"
        double3 xformOp:translate = (9, 0, 0)
        uniform token[] xformOpOrder = ["xformOp:translate"]
    }
}