<PrimitiveSetCtr>

Description

This tag is used to list primitives using an index array to vertex data. This tag also sets skinning deform mode. Children of this tag include a list of bones to be influended and an index array to vertex data.

Attributes

TypeAttributesDescription
PrimitiveSetSkinningModeCtrSkinningMode Skinning Types

PrimitiveSetSkinningModeCtr Enumerated Types

ValueDescription
NoneNo skinning.
RigidSkinningSkinning where only one bone is assigned per vertex.
SmoothSkinningSkinning where multiple bones can be assigned per vertex.

Example Output

<Shapes>
<SeparateDataShapeCtr>
<OrientedBoundingBox>
<CenterPosition X="0" Y="0" Z="0" />
<OrientationMatrix M00="1" M01="0" M02="0" M10="0" M11="0" M12="1" M20="0" M21="1" M22="0" />
<Size X="16.651" Y="16.0032" Z="0" />
</OrientedBoundingBox>
<PositionOffset X="0" Y="0" Z="0" />
<PrimitiveSets>
<PrimitiveSetCtr SkinningMode="None">
<BoneIndexTable>0</BoneIndexTable>
<Primitives>
<PrimitiveCtr>
<IndexStreams>
<UbyteIndexStreamCtr PrimitiveMode="Triangles" Size="6">0 1 2 1 3 2</UbyteIndexStreamCtr>
</IndexStreams>
</PrimitiveCtr>
</Primitives>
</PrimitiveSetCtr>
</PrimitiveSets>
<VertexAttributes>
<Vector3VertexStreamCtr Usage="Position" VertexSize="4" Scale="1" QuantizedMode="Float">
-8.32549 0 8.00161
8.32549 0 8.00161
-8.32549 0 -8.00161
8.32549 0 -8.00161
</Vector3VertexStreamCtr>
<Vector3VertexAttributeCtr Usage="Normal" Scale="1">0 1 0</Vector3VertexAttributeCtr>
<Vector2VertexStreamCtr Usage="TextureCoordinate0" VertexSize="4" Scale="1" QuantizedMode="Float">
0 0
1 0
0 0.961097
1 0.961097
</Vector2VertexStreamCtr>
</VertexAttributes>
</SeparateDataShapeCtr>
</Shapes>

CONFIDENTIAL