Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
1.5 KiB
108 lines
1.5 KiB
1 week ago
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
"""A collection of known USD-related keywords, attributes, and types."""
|
||
|
|
||
|
COMMON_ATTRIBUTES = [
|
||
|
"extent",
|
||
|
"xformOpOrder",
|
||
|
]
|
||
|
|
||
|
KEYWORDS = [
|
||
|
"class",
|
||
|
"clips",
|
||
|
"custom",
|
||
|
"customData",
|
||
|
"def",
|
||
|
"dictionary",
|
||
|
"inherits",
|
||
|
"over",
|
||
|
"payload",
|
||
|
"references",
|
||
|
"rel",
|
||
|
"subLayers",
|
||
|
"timeSamples",
|
||
|
"uniform",
|
||
|
"variantSet",
|
||
|
"variantSets",
|
||
|
"variants",
|
||
|
]
|
||
|
|
||
|
OPERATORS = [
|
||
|
"add",
|
||
|
"append",
|
||
|
"delete",
|
||
|
"prepend",
|
||
|
"reorder",
|
||
|
]
|
||
|
|
||
|
SPECIAL_NAMES = [
|
||
|
"active",
|
||
|
"apiSchemas",
|
||
|
"defaultPrim",
|
||
|
"elementSize",
|
||
|
"endTimeCode",
|
||
|
"hidden",
|
||
|
"instanceable",
|
||
|
"interpolation",
|
||
|
"kind",
|
||
|
"startTimeCode",
|
||
|
"upAxis",
|
||
|
]
|
||
|
|
||
|
TYPES = [
|
||
|
"asset",
|
||
|
"bool",
|
||
|
"color3d",
|
||
|
"color3f",
|
||
|
"color3h",
|
||
|
"color4d",
|
||
|
"color4f",
|
||
|
"color4h",
|
||
|
"double",
|
||
|
"double2",
|
||
|
"double3",
|
||
|
"double4",
|
||
|
"float",
|
||
|
"float2",
|
||
|
"float3",
|
||
|
"float4",
|
||
|
"frame4d",
|
||
|
"half",
|
||
|
"half2",
|
||
|
"half3",
|
||
|
"half4",
|
||
|
"int",
|
||
|
"int2",
|
||
|
"int3",
|
||
|
"int4",
|
||
|
"keyword",
|
||
|
"matrix2d",
|
||
|
"matrix3d",
|
||
|
"matrix4d",
|
||
|
"normal3d",
|
||
|
"normal3f",
|
||
|
"normal3h",
|
||
|
"point3d",
|
||
|
"point3f",
|
||
|
"point3h",
|
||
|
"quatd",
|
||
|
"quatf",
|
||
|
"quath",
|
||
|
"string",
|
||
|
"syn",
|
||
|
"token",
|
||
|
"uchar",
|
||
|
"uchar2",
|
||
|
"uchar3",
|
||
|
"uchar4",
|
||
|
"uint",
|
||
|
"uint2",
|
||
|
"uint3",
|
||
|
"uint4",
|
||
|
"usdaType",
|
||
|
"vector3d",
|
||
|
"vector3f",
|
||
|
"vector3h",
|
||
|
]
|