×
Меню
Индекс

Код NiSkinPartition для Nif.xml

 
   <niobject name="NiSkinPartition" abstract="0" inherit="NiObject">
        <add name="Num Skin Partitions" type="uint"></add>
        <add name="SkinPartitions" type="SkinPartition" arr1="Num Skin Partitions"></add>
    </niobject>
 
    <compound name="SkinPartition">
        <add name="Num Vertices" type="ushort"></add>
        <add name="Num Triangles" type="ushort"></add>
        <add name="Num Bones" type="ushort"></add>
        <add name="Num Strip Lengths" type="ushort"></add>
        <add name="Num Bones Per Vertex" type="ushort"></add>
        <add name="Bones" type="ushort" arr1="Num Bones"></add>
        <add name="Vertices" type="ushort" arr1="Num Vertices"></add>
        <add name="Weights" type="float" arr1="Num Bones Per Vertex" arr2="Num Vertices"></add>
        <add name="Triangles" type="Triangle" cond="Num Triangles" arr1="Num Triangles"></add>
        <add name="Strip Lengths" type="ushort" cond="Num Strip Lengths" arr1="Num Strip Lengths"></add>
        <add name="Strips" type="ushort" cond="Num Strip Lengths" arr1="Num Strip Lengths" arr2="Strip Lengths"></add>
        <add name="Has Bone Palette" type="byte"></add>
        <add name="Bone Palette" type="byte" cond="Has Bone Palette" arr1="Num Bones Per Vertex" arr2="Num Vertices"></add>
    </compound>