1#usda 1.0 2( 3 "WARNING: THIS FILE IS GENERATED BY usdGenSchema. DO NOT EDIT." 4 customLayerData = { 5 dictionary multipleApplyAPISchemas = { 6 string EmptyMultipleApplyAPI = "" 7 string MultipleApplyAPI = "test" 8 string PublicMultipleApplyAPI = "testo" 9 } 10 } 11 fallbackPrimTypes = { 12 token[] Derived = ["OldDerived", "OlderDerived"] 13 } 14) 15 16class "NonAppliedAPI" 17{ 18} 19 20class "DerivedNonAppliedAPI" 21{ 22} 23 24class "SingleApplyAPI" ( 25 apiSchemas = ["BuiltinAPI"] 26) 27{ 28} 29 30class "EmptyMultipleApplyAPI" 31{ 32} 33 34class "MultipleApplyAPI" 35{ 36 int testAttrOne 37 double testAttrTwo 38} 39 40class "PublicMultipleApplyAPI" 41{ 42 int testAttrOne 43 double testAttrTwo 44} 45 46class "Base" ( 47 apiSchemas = ["BuiltinAPI"] 48 doc = 'This doc should only exist on the "Base" class.' 49) 50{ 51 asset asset = @asset@ 52 asset[] assetArray 53 bool bool = 1 54 bool[] boolArray 55 color3d color3d = (0, 0, 0) 56 color3d[] color3dArray 57 color3f color3f = (0, 0, 0) 58 color3f[] color3fArray 59 color3h color3h = (0, 0, 0) 60 color3h[] color3hArray 61 color4d color4d = (0, 0, 0, 0) 62 color4d[] color4dArray 63 color4f color4f = (0, 0, 0, 0) 64 color4f[] color4fArray 65 color4h color4h = (0, 0, 0, 0) 66 color4h[] color4hArray 67 double double = 0 68 double2 double2 = (0, 0) 69 double2[] double2Array 70 double3 double3 = (0, 0, 0) 71 double3[] double3Array 72 double4 double4 = (0, 0, 0, 0) 73 double4[] double4Array 74 double[] doubleArray 75 float float = 0 76 float2 float2 = (0, 0) 77 float2[] float2Array 78 float3 float3 = (0, 0, 0) 79 float3[] float3Array 80 float4 float4 = (0, 0, 0, 0) 81 float4[] float4Array 82 float[] floatArray 83 frame4d frame4d = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) 84 frame4d[] frame4dArray 85 half half = 0 86 half2 half2 = (0, 0) 87 half2[] half2Array 88 half3 half3 = (0, 0, 0) 89 half3[] half3Array 90 half4 half4 = (0, 0, 0, 0) 91 half4[] half4Array 92 half[] halfArray 93 int int = 0 94 int2 int2 = (0, 0) 95 int2[] int2Array 96 int3 int3 = (0, 0, 0) 97 int3[] int3Array 98 int4 int4 = (0, 0, 0, 0) 99 int4[] int4Array 100 int64 int64 = 0 101 int64[] int64Array 102 int[] intArray 103 matrix2d matrix2d = ( (1, 0), (0, 1) ) 104 matrix2d[] matrix2dArray 105 matrix3d matrix3d = ( (1, 0, 0), (0, 1, 0), (0, 0, 1) ) 106 matrix3d[] matrix3dArray 107 matrix4d matrix4d = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) 108 matrix4d[] matrix4dArray 109 custom double myDouble 110 uniform bool myUniformBool = 0 ( 111 doc = "Uniform bool, default false" 112 ) 113 token myVaryingToken = "VariableTokenDefault" ( 114 allowedTokens = ["VariableTokenAllowed1", "VariableTokenAllowed2", "VariableTokenAllowed<3>", ""] 115 doc = "VariableToken attribute docs." 116 ) 117 uniform token[] myVaryingTokenArray = ["VariableTokenArrayAllowed1", ""] ( 118 allowedTokens = ["VariableTokenArrayAllowed1", "VariableTokenArrayAllowed2", "VariableTokenArrayAllowed<3>", ""] 119 doc = "VariableTokenArray attribute docs." 120 ) 121 normal3d normal3d = (0, 0, 0) 122 normal3d[] normal3dArray 123 normal3f normal3f = (0, 0, 0) 124 normal3f[] normal3fArray 125 normal3h normal3h = (0, 0, 0) 126 normal3h[] normal3hArray 127 point3d point3d = (0, 0, 0) 128 point3d[] point3dArray 129 point3f point3f = (0, 0, 0) 130 point3f[] point3fArray 131 point3h point3h = (0, 0, 0) 132 point3h[] point3hArray 133 quatd quatd = (1, 0, 0, 0) 134 quatd[] quatdArray 135 quatf quatf = (1, 0, 0, 0) 136 quatf[] quatfArray 137 quath quath = (1, 0, 0, 0) 138 quath[] quathArray 139 string string = "string" 140 string[] stringArray 141 token token = "token" 142 token[] tokenArray 143 uchar uchar = 0 144 uchar[] ucharArray 145 uint uint = 0 146 uint64 uint64 = 0 147 uint64[] uint64Array 148 uint[] uintArray 149 vector3d vector3d = (0, 0, 0) 150 vector3d[] vector3dArray 151 vector3f vector3f = (0, 0, 0) 152 vector3f[] vector3fArray 153 vector3h vector3h = (0, 0, 0) 154 vector3h[] vector3hArray 155} 156 157class Derived "Derived" ( 158 apiSchemas = ["BuiltinAPI"] 159 doc = "Emphasized! Test Section" 160) 161{ 162 asset asset = @asset@ 163 asset[] assetArray 164 rel binding ( 165 doc = "This is my awesome relationship." 166 ) 167 bool bool = 1 168 bool[] boolArray 169 color3d color3d = (0, 0, 0) 170 color3d[] color3dArray 171 color3f color3f = (0, 0, 0) 172 color3f[] color3fArray 173 color3h color3h = (0, 0, 0) 174 color3h[] color3hArray 175 color4d color4d = (0, 0, 0, 0) 176 color4d[] color4dArray 177 color4f color4f = (0, 0, 0, 0) 178 color4f[] color4fArray 179 color4h color4h = (0, 0, 0, 0) 180 color4h[] color4hArray 181 int[] cornerIndices = [] ( 182 doc = "The vertex indices of all vertices that are sharp corners." 183 ) 184 float[] cornerSharpnesses = [] ( 185 doc = """The sharpness values for corners: each corner gets a single 186 sharpness value (Usd.Mesh.SHARPNESS_INFINITE for a perfectly sharp 187 corner), so the size of this array must match that of 188 'cornerIndices'""" 189 ) 190 int[] creaseLengths = [] ( 191 doc = """The length of this array specifies the number of creases on the 192 surface. Each element gives the number of (must be adjacent) vertices in 193 each crease, whose indices are linearly laid out in the 'creaseIndices' 194 attribute. Since each crease must be at least one edge long, each 195 element of this array should be greater than one.""" 196 ) 197 double double = 0 198 double2 double2 = (0, 0) 199 double2[] double2Array 200 double3 double3 = (0, 0, 0) 201 double3[] double3Array 202 double4 double4 = (0, 0, 0, 0) 203 double4[] double4Array 204 double[] doubleArray 205 float float = 0 206 float2 float2 = (0, 0) 207 float2[] float2Array 208 float3 float3 = (0, 0, 0) 209 float3[] float3Array 210 float4 float4 = (0, 0, 0, 0) 211 float4[] float4Array 212 float[] floatArray 213 frame4d frame4d = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) 214 frame4d[] frame4dArray 215 half half = 0 216 half2 half2 = (0, 0) 217 half2[] half2Array 218 half3 half3 = (0, 0, 0) 219 half3[] half3Array 220 half4 half4 = (0, 0, 0, 0) 221 half4[] half4Array 222 half[] halfArray 223 int[] holeIndices = [] ( 224 doc = """The face indices (indexing into the 'faceVertexCounts' 225 attribute) of all faces that should be made invisible.""" 226 ) 227 int int = 0 228 int2 int2 = (0, 0) 229 int2[] int2Array 230 int3 int3 = (0, 0, 0) 231 int3[] int3Array 232 int4 int4 = (0, 0, 0, 0) 233 int4[] int4Array 234 int64 int64 = 0 235 int64[] int64Array 236 int[] intArray 237 token justDefault = "newToken" ( 238 doc = "newToken should be included in the global token set." 239 ) 240 matrix2d matrix2d = ( (1, 0), (0, 1) ) 241 matrix2d[] matrix2dArray 242 matrix3d matrix3d = ( (1, 0, 0), (0, 1, 0), (0, 0, 1) ) 243 matrix3d[] matrix3dArray 244 matrix4d matrix4d = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) 245 matrix4d[] matrix4dArray 246 custom double myDouble 247 uniform bool myUniformBool = 0 ( 248 doc = "Uniform bool, default false" 249 ) 250 token myVaryingToken = "VariableTokenDefault" ( 251 allowedTokens = ["VariableTokenAllowed1", "VariableTokenAllowed2", "VariableTokenAllowed<3>", ""] 252 doc = "VariableToken attribute docs." 253 ) 254 uniform token[] myVaryingTokenArray = ["VariableTokenArrayAllowed1", ""] ( 255 allowedTokens = ["VariableTokenArrayAllowed1", "VariableTokenArrayAllowed2", "VariableTokenArrayAllowed<3>", ""] 256 doc = "VariableTokenArray attribute docs." 257 ) 258 float3[] myVecfArray 259 float namespaced:property = 1 260 normal3d normal3d = (0, 0, 0) 261 normal3d[] normal3dArray 262 normal3f normal3f = (0, 0, 0) 263 normal3f[] normal3fArray 264 normal3h normal3h = (0, 0, 0) 265 normal3h[] normal3hArray 266 float3 pivotPosition = (0, 0, 0) ( 267 doc = """Rotation pivot position for this prim's transformation. 268 Provided as advisory data only for use by authoring applications, 269 and should have no effect on the transformation encoded in the 270 'transform' attribute.""" 271 ) 272 point3d point3d = (0, 0, 0) 273 point3d[] point3dArray 274 point3f point3f = (0, 0, 0) 275 point3f[] point3fArray 276 point3h point3h = (0, 0, 0) 277 point3h[] point3hArray 278 quatd quatd = (1, 0, 0, 0) 279 quatd[] quatdArray 280 quatf quatf = (1, 0, 0, 0) 281 quatf[] quatfArray 282 quath quath = (1, 0, 0, 0) 283 quath[] quathArray 284 string string = "string" 285 string[] stringArray 286 asset[] testingAsset 287 token token = "token" 288 token[] tokenArray 289 matrix4d transform = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) ( 290 doc = """Double-precision transformation matrix, which should encode 291 the entire local transformation for a prim.""" 292 ) 293 uchar uchar = 0 294 uchar[] ucharArray 295 uint uint = 0 296 uint64 uint64 = 0 297 uint64[] uint64Array 298 uint[] uintArray 299 vector3d vector3d = (0, 0, 0) 300 vector3d[] vector3dArray 301 vector3f vector3f = (0, 0, 0) 302 vector3f[] vector3fArray 303 vector3h vector3h = (0, 0, 0) 304 vector3h[] vector3hArray 305} 306 307class TestPxHairman "TestPxHairman" 308{ 309 float attrWithoutGeneratedAccessorAPI ( 310 doc = "This exercises empty apiName to skip accessor generation." 311 ) 312 rel relCanShareApiNameWithAttr ( 313 doc = "This exercises custom API naming." 314 ) 315 float riStatements:attributes:user:Gofur_GeomOnHairdensity ( 316 doc = "This exercises custom API naming." 317 ) 318 custom float temp 319} 320 321