assimp/doc/datastructure.xml

100 lines
2.3 KiB
XML

<importedScene>
<version 1.2 /> <smiley code=":-)" />
<node>
<name/>
<transformation matrix4x4 />
<mesh refid="0" />
<mesh ... />
<childnode/>
<childnode... />
</node>
<meshes>
<mesh id="0">
<meshheader MatID, Vertexcount, Facecount, a.s.o. />
<vertices>
<vertex xyz />
<vertex ... />
</vertices>
<texturecoords index="0">
<texturecoord uv />
<texturecoord ... />
</texturecoords>
<texturecoords index="..." />
<vertexcolors index="0">
<color rgba />
<color ... />
</vertexcolors>
<vertexcolors index="..." />
<normals>
<normal xyz />
<normal ... />
</normals>
<tangents>
<tangent xyz />
<tangent ... />
</tangents>
<bitangents>
<bitangent xyz />
<bitangent ... />
</tangents>
<faces>
<face numIndices="3" indices="p1, p2, p3" />
<face ... />
</faces>
<bones>
<bone>
<name />
<offset matrix4x4 />
<weights>
<weight v, w />
<weight... />
</weights>
</bone>
<bone ... />
</bones>
</mesh>
<mesh id="x" ... />
</meshes>
<anims>
<anim name="rudern" duration="4500" ticksPerSecond="50">
<animbone nameOfAnimatedNode="bla">
<rotation>
<rotkey time="0" rot="xyzw" />
<rotkey time="100" rot="xyzw" />
...
</rotation>
<translation>
<transkey time="0" trans="xyz" />
<transkey time="100" trans="xyz" />
...
</translation>
<scaling>
<scalekey time="0" scale="xyz" />
<scalekey time="100" scale="xyz" />
...
<scaling>
</animbone>
<animbone nameOfAnimatedNode="blubb">
...
</animbone>
</anim>
<anim ... />
</anims>
<materials>
<material>
<param>
<name/>
<value/>
</param>
</material>
<material ... />
</materials>
<textures>
</texture width, height, formatHint>
<data />
</texture>
<texture ... />
</textures>
</importedScene>