all  /  test_assets  / foundation  / stage_composition  / _parent_stage .usda

Stage Composition

These assets show and test how compositon arcs and related concepts work.

Payload

payload contains assets to test payloading files and prims.

Reference

reference contains assets to test referencing files and prims.

SubLayer

subLayer contains assets to test sublayering files.

Active

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.

screenshot active.usda, usdrecord 22.08

Classes

class_inherit.usda shows how to use a class and what effect overriding a class attribute has in an inheriting prim.

screenshot class_inherit.usda, usdrecord 22.08

Inherit and Specialize

inherit_and_specialize.usda shows the difference between inherits and specializes.

screenshot inherit_and_specialize.usda, usdrecord 22.08

Over

over.usda shows the difference between overs and defs.

screenshot over.usda, usdrecord 22.08

Purpose

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 red
  • CubeIsRender with token purpose = "render", colored green
  • CubeIsProxy with token purpose = "proxy", colored blue
  • CubeIsOther with token purpose = "other", colored yellow

screenshot purpose.usda, usdrecord 22.08


Edit this page

_parent_stage.usda

#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 "Cube"
    {
    }
}