Stores the mesh vertex positions, normals, texture coordinates and color information. Also used to store shape animation.
![]()
|
This template corresponds to the CSLXSIShape class. |
5.0
// Ordered form of template for the original shape XSI_Shape SHP-<object> { "ORDERED", // XSI_SubComponentAttributeList templates... } // Indexed form of template for the shape animation XSI_Shape SHP-<object>-<index> { "INDEXED", // XSI_SubComponentAttributeList templates... }
// Original shape
XSI_Mesh MSH-cone {
XSI_Shape SHP-cone {
"ORDERED",
XSI_SubComponentAttributeList position {
"POSITION",
"FLOAT3",
26,
// 26 XYZ position values...
}
XSI_SubComponentAttributeList ImplicitNormal {
"NORMAL",
"FLOAT3",
112,
// 112 normal XYZ values...
}
XSI_SubComponentAttributeList Texture_Projection {
"TEXCOORD",
"FLOAT2",
112,
// 112 UV coordinates...
}
XSI_SubComponentAttributeList Vertex_Color {
"COLOR",
"FLOAT4",
112,
// 112 vertex RGBA color values...
}
}
// ...
}
// Shape animation
XSI_Shape SHP-cone-0 {
"INDEXED",
XSI_SubComponentAttributeList ShapeKey1 {
"POSITION",
"FLOAT4",
9,
11.000000,0.000000,0.236488,0.473934,
12.000000,0.000000,0.236488,0.473934,
13.000000,0.000000,0.236488,0.473934,
14.000000,0.000000,0.236488,0.473934,
15.000000,0.000000,0.236488,0.473934,
16.000000,0.000000,0.236488,0.473934,
17.000000,0.000000,0.236488,0.473934,
18.000000,0.000000,0.236488,0.473934,
19.000000,0.000000,0.236488,0.473934,
}
}
XSI_Shape SHP-cone-1 {
"INDEXED",
XSI_SubComponentAttributeList ShapeKey2 {
"POSITION",
"FLOAT4",
9,
11.000000,-0.024600,0.236488,0.475001,
12.000000,-0.024600,0.236488,0.475001,
13.000000,-0.024600,0.236488,0.475001,
14.000000,-0.024600,0.236488,0.475001,
15.000000,-0.024600,0.236488,0.475001,
16.000000,-0.024600,0.236488,0.475001,
17.000000,-0.024600,0.236488,0.475001,
18.000000,-0.024600,0.236488,0.475001,
19.000000,-0.024600,0.236488,0.475001,
}
}
}
Autodesk Crosswalk v4.0