-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathsimple.usda
44 lines (37 loc) · 818 Bytes
/
simple.usda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#usda 1.0
def Sphere "prim_1" (
references = </controller_prim>
variantSets = "geo"
)
{
variantSet "geo" = {
"big" {
double radius = 3
}
"small" {
double radius = 2
}
}
}
class "controller_prim" (
doc = "This Prim can be a class or def or over. Though class or def is preferred."
variantSets = "another"
)
{
variantSet "another" = {
"selection_1" (
doc = "Switch to this variant to force </prim_1{geo=small}>"
variants = {
string geo = "small"
}
) {
}
"selection_2" (
doc = "Switch to this variant to force </prim_1{geo=big}>"
variants = {
string geo = "big"
}
) {
}
}
}