lwjgl/doc/templates/MeshModelSchema.xml

193 lines
6.3 KiB
XML

<?xml version="1.0" standalone="no"?>
<Schema name="MeshModelSchema" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
<AttributeType name="modelname" />
<AttributeType name="material" />
<AttributeType name="vertexcount" >
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="type" />
<ElementType name="bones" content="textOnly">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</ElementType>
<AttributeType name="a">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="b">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="c">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="adjacency">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<ElementType name="triangle" content="empty">
<attribute type="a" />
<attribute type="b" />
<attribute type="c" />
<attribute type="adjacency" />
</ElementType>
<ElementType name="mesh" content="eltOnly">
<element type="triangle" minOccurs="1" maxOccurs="*" />
</ElementType>
<AttributeType name="u">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="v">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<ElementType name="texcoord" content="empty">
<attribute type="u" />
<attribute type="v" />
</ElementType>
<ElementType name="skin" content="eltOnly">
<element type="texcoord" minOccurs="1" maxOccurs="*" />
</ElementType>
<AttributeType name="red">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="green">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="blue">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<AttributeType name="alpha">
<description>
This element will be converted into an integer, so it should only contain whole numbers.
</description>
</AttributeType>
<ElementType name="color" content="empty">
<attribute type="red" />
<attribute type="green" />
<attribute type="blue" />
<attribute type="alpha" />
</ElementType>
<ElementType name="colors" content="eltOnly">
<element type="color" minOccurs="1" maxOccurs="*" />
</ElementType>
<AttributeType name="x">
<description>
This element will be converted into an floating point number, so it should only contain decimal numbers.
</description>
</AttributeType>
<AttributeType name="y">
<description>
This element will be converted into an floating point number, so it should only contain decimal numbers.
</description>
</AttributeType>
<AttributeType name="z">
<description>
This element will be converted into an floating point number, so it should only contain decimal numbers.
</description>
</AttributeType>
<AttributeType name="nx">
<description>
This element will be converted into an floating point number, so it should only contain decimal numbers.
</description>
</AttributeType>
<AttributeType name="ny">
<description>
This element will be converted into an floating point number, so it should only contain decimal numbers.
</description>
</AttributeType>
<AttributeType name="nz">
<description>
This element will be converted into an floating point number, so it should only contain decimal numbers.
</description>
</AttributeType>
<ElementType name="vertex" content="empty">
<attribute type="x" />
<attribute type="y" />
<attribute type="z" />
<attribute type="nx" />
<attribute type="ny" />
<attribute type="nz" />
</ElementType>
<AttributeType name="time">
<description>
This element will be converted into an floating point number, so it should only contain decimal numbers.
</description>
</AttributeType>
<ElementType name="action" content="textOnly" />
<AttributeType name="sequencename" />
<ElementType name="frame" content="eltOnly">
<element type="vertex" minOccurs="1" maxOccurs="*" />
<attribute type="time" />
<element type="action" minOccurs="1" maxOccurs="1" />
</ElementType>
<ElementType name="sequence" content="eltOnly">
<attribute type="sequencename" />
<element type="frame" minOccurs="1" maxOccurs="*" />
</ElementType>
<ElementType name="animation" content="eltOnly">
<element type="sequence" minOccurs="1" maxOccurs="*" />
</ElementType>
<ElementType name="meshmodel" content="eltOnly">
<attribute type="modelname" />
<attribute type="material" />
<attribute type="vertexcount" />
<attribute type="type" />
<element type="mesh" minOccurs="1" maxOccurs="1" />
<element type="skin" minOccurs="0" maxOccurs="1" />
<element type="colors" minOccurs="1" maxOccurs="1" />
<element type="animation" minOccurs="1" maxOccurs="1" />
</ElementType>
</Schema>