QuestionQ62

VerifiedCustomizing USD

Suppose you have the following layer:

#usda 1.0  
(  
    defaultPrim = "ParentXform"  
)  
def Xform "ParentXform"  
\{  
    def Mesh "ChildMesh"  
    \{  
    \}  
\}  

If you wanted to add a property to ParentXform so that it automatically propagates to ChildMesh without adding the same property to ChildMesh, which of the following changes to ParentXform would make this work?

Explanation

A primvar with constant interpolation can be inherited by descendant prims, so ChildMesh can use the value authored on ParentXform without a separate property being authored on the mesh. An ordinary custom attribute or relationship does not provide this primvar inheritance behavior. (openusd.org)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!