I test the Specializes composition arc. I reference the box inline code to stage.
I expect the size will keep 1.0, but the result is 4.0 ( same as inherits arc ).
Where did I make a wrong?
Thanks for any tips!
box inline:
#usda 1.0
class Cube "_class_box" {
double size = 1.0
}
def Xform "box"
{
def "box_special" ( specializes = </_class_box>)
{
}
}
stage inline:
#usda 1.0
class "_class_box" {
double size = 4.0
color3f[] primvars:displayColor = [(1, 0, 0)]
}