vertex_weights

The vertex_weights element associates a set of joint-weight pairs with each vertex in the base mesh.

Element Information

Model

Children: extra, input, v, vcount

Attributes

QName Type Fixed Default Use Inheritable Annotation
count uint_type required
The count attribute describes the number of vertices in the base mesh. Required element.

Source

<xs:element name="vertex_weights">
  <xs:annotation>
    <xs:documentation>The vertex_weights element associates a set of joint-weight pairs with each vertex in the base mesh.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="input" type="input_local_offset_type" minOccurs="2" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>The input element must occur at least twice.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="vcount" type="list_of_uints_type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The vcount element contains a list of integers describing the number of influences for each vertex. The vcount element may occur once.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="v" type="list_of_ints_type" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The v element describes which bones and attributes are associated with each vertex. An index of -1 into the array of joints refers to the bind shape. Weights should be normalized before use. The v element must occur zero or one times.</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:attribute name="count" type="uint_type" use="required">
      <xs:annotation>
        <xs:documentation>The count attribute describes the number of vertices in the base mesh. Required element.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample