| 1 |
---input--- |
| 2 |
def Xform "BottleMedical" ( |
| 3 |
kind = "prop" |
| 4 |
payload = @./BottleMedical_payload.usd@</BottleMedical> |
| 5 |
variants = { |
| 6 |
string modelingVariant = "LiquidBottleLg" |
| 7 |
string shadingComplexity = "full" |
| 8 |
} |
| 9 |
add variantSets = ["modelingVariant", "shadingComplexity"] |
| 10 |
) |
| 11 |
{ |
| 12 |
variantSet "modelingVariant" = { |
| 13 |
"ALL_VARIANTS" { |
| 14 |
} |
| 15 |
} |
| 16 |
} |
| 17 |
|
| 18 |
---tokens--- |
| 19 |
'def' Keyword.Tokens |
| 20 |
' ' Text.Whitespace |
| 21 |
'Xform' Text |
| 22 |
' ' Text.Whitespace |
| 23 |
'"BottleMedical"' Literal.String |
| 24 |
' ' Text.Whitespace |
| 25 |
'(' Punctuation |
| 26 |
'\n ' Text.Whitespace |
| 27 |
'kind' Name.Builtins |
| 28 |
' ' Text.Whitespace |
| 29 |
'=' Operator |
| 30 |
' ' Text.Whitespace |
| 31 |
'"prop"' Literal.String |
| 32 |
'\n ' Text.Whitespace |
| 33 |
'payload' Keyword.Tokens |
| 34 |
' ' Text.Whitespace |
| 35 |
'=' Operator |
| 36 |
' ' Text.Whitespace |
| 37 |
'@./BottleMedical_payload.usd@' Literal.String.Interpol |
| 38 |
'</BottleMedical>' Name.Namespace |
| 39 |
'\n ' Text.Whitespace |
| 40 |
'variants' Keyword.Tokens |
| 41 |
' ' Text.Whitespace |
| 42 |
'=' Operator |
| 43 |
' ' Text.Whitespace |
| 44 |
'{' Punctuation |
| 45 |
'\n ' Text.Whitespace |
| 46 |
'string' Keyword.Type |
| 47 |
' ' Text.Whitespace |
| 48 |
'modelingVariant' Name.Attribute |
| 49 |
' ' Text.Whitespace |
| 50 |
'=' Operator |
| 51 |
' ' Text.Whitespace |
| 52 |
'"LiquidBottleLg"' Literal.String |
| 53 |
'\n ' Text.Whitespace |
| 54 |
'string' Keyword.Type |
| 55 |
' ' Text.Whitespace |
| 56 |
'shadingComplexity' Name.Attribute |
| 57 |
' ' Text.Whitespace |
| 58 |
'=' Operator |
| 59 |
' ' Text.Whitespace |
| 60 |
'"full"' Literal.String |
| 61 |
'\n ' Text.Whitespace |
| 62 |
'}' Punctuation |
| 63 |
'\n ' Text.Whitespace |
| 64 |
'add' Keyword.Type |
| 65 |
' ' Text.Whitespace |
| 66 |
'variantSets' Name.Attribute |
| 67 |
' ' Text.Whitespace |
| 68 |
'=' Operator |
| 69 |
' ' Text.Whitespace |
| 70 |
'[' Punctuation |
| 71 |
'"modelingVariant"' Literal.String |
| 72 |
',' Punctuation |
| 73 |
' ' Text.Whitespace |
| 74 |
'"shadingComplexity"' Literal.String |
| 75 |
']' Punctuation |
| 76 |
'\n' Text.Whitespace |
| 77 |
|
| 78 |
')' Punctuation |
| 79 |
'\n' Text.Whitespace |
| 80 |
|
| 81 |
'{' Punctuation |
| 82 |
'\n ' Text.Whitespace |
| 83 |
'variantSet' Keyword.Tokens |
| 84 |
' ' Text.Whitespace |
| 85 |
'"modelingVariant"' Literal.String |
| 86 |
' ' Text.Whitespace |
| 87 |
'=' Operator |
| 88 |
' ' Text.Whitespace |
| 89 |
'{' Punctuation |
| 90 |
'\n ' Text.Whitespace |
| 91 |
'"ALL_VARIANTS"' Literal.String |
| 92 |
' ' Text.Whitespace |
| 93 |
'{' Punctuation |
| 94 |
'\n ' Text.Whitespace |
| 95 |
'}' Punctuation |
| 96 |
'\n ' Text.Whitespace |
| 97 |
'}' Punctuation |
| 98 |
'\n' Text.Whitespace |
| 99 |
|
| 100 |
'}' Punctuation |
| 101 |
'\n' Text.Whitespace |