1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <title>Vector3VertexAttributeCtr</title> 7 <link rel="stylesheet" href="../css/mainpage.css" type="text/css" /> 8 </head> 9 <body> 10 <h1><Vector3VertexAttributeCtr></h1> 11 <h2>Description</h2> 12 <p> 13 This tag is for vertex attribute informaiton (fixed values and streams). 14 </p> 15 <h2>Attributes</h2> 16 <table class="arguments"> 17<thead><tr><td>Type</td><td>Attributes</td><td>Description</td></tr></thead><tr><td /><th>Scale</th><td> 18 The scale value applied to the attribute information. 19 </td></tr><tr><td>VertexAttributeCtrUsage</td><th>Usage</th><td> 20 The usage type of the attribute information. 21 </td></tr></table> 22 <h2>VertexAttributeCtrUsage Enumerated Type</h2> 23 <table class="arguments"> 24<thead><tr><td>Value</td><td>Description</td></tr></thead><tr><th>Position</th><td>Vertex position information.</td></tr><tr><th>Normal</th><td>Normal vector information of vertex.</td></tr><tr><th>Tangent</th><td>Tangent vector information of vertex.</td></tr><tr><th>Color</th><td>Vertex color information.</td></tr><tr><th>TextureCoordinate0</th><td>Texture coordinate 0 information of vertex.</td></tr><tr><th>TextureCoordinate1</th><td>Texture coordinate 1 information of vertex.</td></tr><tr><th>TextureCoordinate2</th><td>Texture coordinate 2 information of vertex.</td></tr><tr><th>BoneIndex</th><td>Bone index number information of vertex.</td></tr><tr><th>BoneWeight</th><td>Vertex bone weight information.</td></tr><tr><th>UserAttribute0</th><td>User attribute 0 information of vertex.</td></tr><tr><th>UserAttribute1</th><td>User attribute 1 information of vertex.</td></tr><tr><th>UserAttribute2</th><td>User attribute 2 information of vertex.</td></tr><tr><th>UserAttribute3</th><td>User attribute 3 information of vertex.</td></tr><tr><th>UserAttribute4</th><td>User attribute 4 information of vertex.</td></tr><tr><th>UserAttribute5</th><td>User attribute 5 information of vertex.</td></tr><tr><th>UserAttribute6</th><td>User attribute 6 information of vertex.</td></tr><tr><th>UserAttribute7</th><td>User attribute 7 information of vertex.</td></tr><tr><th>UserAttribute8</th><td>User attribute 8 information of vertex.</td></tr><tr><th>UserAttribute9</th><td>User attribute 9 information of vertex.</td></tr><tr><th>UserAttribute10</th><td>User attribute 10 information of vertex.</td></tr><tr><th>UserAttribute11</th><td>User attribute 11 information of vertex.</td></tr><tr><th>Interleave</th><td>Interleave format information.</td></tr><tr><th>Quantity</th><td>Number of usage types for attribute information.</td></tr></table> 25 26<h2>Example Output</h2> 27 28<table> 29<tr> 30<td><pre> 31<Shapes><br> 32 <SeparateDataShapeCtr><br> 33 <OrientedBoundingBox><br> 34 <CenterPosition X="0" Y="0" Z="0" /><br> 35 <OrientationMatrix M00="1" M01="0" M02="0" M10="0" M11="0" M12="1" M20="0" M21="1" M22="0" /><br> 36 <Size X="16.651" Y="16.0032" Z="0" /><br> 37 </OrientedBoundingBox><br> 38 <PositionOffset X="0" Y="0" Z="0" /><br> 39 <PrimitiveSets><br> 40 <PrimitiveSetCtr SkinningMode="None"><br> 41 <BoneIndexTable>0</BoneIndexTable><br> 42 <Primitives><br> 43 <PrimitiveCtr><br> 44 <IndexStreams><br> 45 <UbyteIndexStreamCtr PrimitiveMode="Triangles" Size="6">0 1 2 1 3 2</UbyteIndexStreamCtr><br> 46 </IndexStreams><br> 47 </PrimitiveCtr><br> 48 </Primitives><br> 49 </PrimitiveSetCtr><br> 50 </PrimitiveSets><br> 51 <VertexAttributes><br> 52 <Vector3VertexStreamCtr Usage="Position" VertexSize="4" Scale="1" QuantizedMode="Float"><br> 53 -8.32549 0 8.00161<br> 54 8.32549 0 8.00161<br> 55 -8.32549 0 -8.00161<br> 56 8.32549 0 -8.00161<br> 57 </Vector3VertexStreamCtr><br> 58 <strong><Vector3VertexAttributeCtr Usage="Normal" Scale="1"></strong>0 1 0<strong></Vector3VertexAttributeCtr></strong><br> 59 <Vector2VertexStreamCtr Usage="TextureCoordinate0" VertexSize="4" Scale="1" QuantizedMode="Float"><br> 60 0 0<br> 61 1 0<br> 62 0 0.961097<br> 63 1 0.961097<br> 64 </Vector2VertexStreamCtr><br> 65 </VertexAttributes><br> 66 </SeparateDataShapeCtr><br> 67</Shapes><br> 68</pre></td> 69</tr></table> 70 <hr><p>CONFIDENTIAL</p></body> 71</html>