<UbyteIndexStreamCtr>

Description

This tag is for index streams.
Since the element type is Unsigned-Byte (8-bit unsigned integer), the tag can assume a value from 0 to 255.

Attributes

TypeAttributesDescription
IndexStreamPrimitiveModeCtrPrimitiveMode The order in the index (List, Strip, Fan, etc.).

IndexStreamPrimitiveModeCtr Enumerated Type

ValueDescription
TrianglesTriangle list primitive.
TriangleStripTriangle strip primitive.
TriangleFanTriangle fan primitive.

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