What does the defaultPrim metadata on a layer do?
- Exam domain
- OpenUSD Fundamentals27% of the exam
- Difficulty
- Medium
- In this mock
- 14 questions on this domainPractise this domain
Why the exam asks this
OpenUSD Fundamentals (27% of the exam)
Objective in the exam guide: Metadata
Layer metadata affects referencing.
Why C is the answer
It names the prim used when the layer is referenced without a prim path
When another layer references this file without naming a prim, the defaultPrim tells USD which prim to bring in.
Remember: defaultPrim names the prim pulled in by a reference.
How it works
defaultPrim metadata identifies a layer's root prim for references and payloads.
In detail
- defaultPrim is the entry point for references.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. It makes the first prim render brighter than every other prim in the sceneWrong
It does not affect brightness.
B. It deletes all other prims when the layer is openedWrong
It does not delete prims.
C. It names the prim used when the layer is referenced without a prim pathRight
defaultPrim names the prim pulled in by a reference.
D. It sets the cameraWrongMost tempting
Cameras are prims, not this setting.
Why it tempts: Default sounds like a starting view.
Use case
An illustrative scenario, not a real incident.
Illustrative: every asset file sets defaultPrim so set dressers can reference it by file path alone.
See it in different ways
sequenceDiagram participant P0 as Shot layer participant P1 as Chair asset file participant P2 as Stage P0->>P1: reference chair.usd P1->>P2: defaultPrim /Chair
How to read this chart
- 1. Shot layer sends "reference chair.usd" to Chair asset file.
- 2. Chair asset file sends "defaultPrim /Chair" to Stage.
mindmap
root(("Asset file"))
n1["defaultPrim"]
n2["/Chair"]
n3["kind"]
n4["component"]How to read this chart
- The centre is "Asset file".
- "defaultPrim" covers "/Chair".
- "kind" covers "component".