control_vertices

The control vertices element  must occur  exactly one time. It is used to describe the CVs of the spline.

Element Information

Model

Children: extra, input

Source

<xs:element name="control_vertices">
  <xs:annotation>
    <xs:documentation>The control vertices element must occur exactly one time. It is used to describe the CVs of the spline.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="input" type="input_local_type" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>The input element must occur at least one time. These inputs are local inputs.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="extra" type="extra_type" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>The extra element may appear any number of times.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</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>