The mesh element may contain any number of polygons elements. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
count | uint_type | required |
|
||||
material | xs:NCName | optional |
|
||||
name | xs:token | optional |
|
<xs:element name="polygons" type="polygons_type"> <xs:annotation> <xs:documentation>The mesh element may contain any number of polygons elements.</xs:documentation> </xs:annotation> </xs:element> |
< mesh xmlns = "http://www.collada.org/2008/03/COLLADASchema" > |
[...] |
< source id = "box-Pos" > |
-0.5 0.5 0.5 0.5 0.5 0.5 -0.5 -0.5 0.5 0.5 -0.5 0.5 -0.5 0.5 -0.5 0.5 0.5 -0.5 -0.5 -0.5 -0.5 0.5 -0.5 -0.5 |
</ float_array> |
< accessor source = "#box-Pos-array" count = "8" stride = "3" > |
</ accessor> |
</ technique_common> |
</ source> |
1.0 0.0 0.0 -1.0 0.0 0.0 0.0 1.0 0.0 0.0 -1.0 0.0 0.0 0.0 1.0 0.0 0.0 -1.0 |
</ float_array> |
< accessor source = "#box-0-Normal-array" count = "6" stride = "3" > |
</ accessor> |
</ technique_common> |
</ source> |
</ vertices> |
< input semantic = "VERTEX" source = "#box-Vtx" offset = "0" /> |
< input semantic = "NORMAL" source = "#box-0-Normal" offset = "1" /> |
< p> |
0 4 2 4 3 4 1 4 |
</ p> |
< p> |
0 2 1 2 5 2 4 2 |
</ p> |
< p> |
6 3 7 3 3 3 2 3 |
</ p> |
< p> |
0 1 4 1 6 1 2 1 |
</ p> |
< p> |
3 0 7 0 5 0 1 0 |
</ p> |
< p> |
5 5 7 5 6 5 4 5 |
</ p> |
</ polygons> |