vertices

This element defines all the vertices of an
brep structure. Vertices are the base
topological entity for all brep structures,
so this element is ever needed.

Element Information

Model

Children: extra, input

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID required
The id attribute is a text string containing the unique identifier of this element. This 
value must be unique within the instance document. Required attribute.
name xs:token optional
The name attribute is the text string name of this element. Optional attribute.

Source

<xs:element name="vertices" type="vertices_type">
  <xs:annotation>
    <xs:documentation>This element defines all the vertices of an brep structure. Vertices are the base topological entity for all brep structures, so this element is ever needed.</xs:documentation>
  </xs:annotation>
</xs:element>

Sample

< mesh xmlns = "http://www.collada.org/2008/03/COLLADASchema" >

[...]

< source id = "Model_E0_MESH_0_REF_1_lib_positions" name = "position" >

< float_array id = "Model_E0_MESH_0_REF_1_lib_positions_array" count = "9" >

-50 -50 0 0 50 0 50 -50 0

</ float_array>

< technique_common>

< accessor count = "3" source = "#Model_E0_MESH_0_REF_1_lib_positions_array" stride = "3" >

< param name = "X" type = "float" />

< param name = "Y" type = "float" />

< param name = "Z" type = "float" />

</ accessor>

</ technique_common>

</ source>

< source id = "Model_E0_MESH_0_REF_1_lib_normals" name = "normal" >

< float_array id = "Model_E0_MESH_0_REF_1_lib_normals_array" count = "9" >

0 0 -1 0 0 -1 0 0 -1

</ float_array>

< technique_common>

< accessor count = "3" source = "#Model_E0_MESH_0_REF_1_lib_normals_array" stride = "3" >

< param name = "X" type = "float" />

< param name = "Y" type = "float" />

< param name = "Z" type = "float" />

</ accessor>

</ technique_common>

</ source>

< source id = "Model_E0_MESH_0_REF_1_lib_texcoords" name = "texcoords" >

< float_array id = "Model_E0_MESH_0_REF_1_lib_texcoords_array" count = "6" >

0 0 0.5 1 1 0

</ float_array>

< technique_common>

< accessor count = "3" source = "#Model_E0_MESH_0_REF_1_lib_texcoords_array" stride = "2" >

< param name = "X" type = "float" />

< param name = "Y" type = "float" />

</ accessor>

</ technique_common>

</ source>

< source id = "Model_E0_MESH_0_REF_1_lib_tangents" name = "tangent" >

< float_array id = "Model_E0_MESH_0_REF_1_lib_tangents_array" count = "9" >

1 0 0 1 0 0 1 0 0

</ float_array>

< technique_common>

< accessor count = "3" source = "#Model_E0_MESH_0_REF_1_lib_tangents_array" stride = "3" >

< param name = "X" type = "float" />

< param name = "Y" type = "float" />

< param name = "Z" type = "float" />

</ accessor>

</ technique_common>

</ source>

< source id = "Model_E0_MESH_0_REF_1_lib_binormals" name = "binormal" >

< float_array id = "Model_E0_MESH_0_REF_1_lib_binormals_array" count = "9" >

0 1 0 0 0 0 0 1 0

</ float_array>

< technique_common>

< accessor count = "3" source = "#Model_E0_MESH_0_REF_1_lib_binormals_array" stride = "3" >

< param name = "X" type = "float" />

< param name = "Y" type = "float" />

< param name = "Z" type = "float" />

</ accessor>

</ technique_common>

</ source>

< vertices id = "Model_E0_MESH_0_REF_1_lib_vertices" >

< input semantic = "POSITION" source = "#Model_E0_MESH_0_REF_1_lib_positions" />

< input semantic = "NORMAL" source = "#Model_E0_MESH_0_REF_1_lib_normals" />

< input semantic = "TEXCOORD" source = "#Model_E0_MESH_0_REF_1_lib_texcoords" />

< input semantic = "TANGENT" source = "#Model_E0_MESH_0_REF_1_lib_tangents" />

< input semantic = "BINORMAL" source = "#Model_E0_MESH_0_REF_1_lib_binormals" />

</ vertices>

< triangles count = "1" material = "Textured_Bump_E0_MP_MAT" >

< input offset = "0" semantic = "VERTEX" source = "#Model_E0_MESH_0_REF_1_lib_vertices" />

< p>

0 1 2

</ p>

</ triangles>

</ mesh>