collada.primitive.BoundPrimitive¶
- class collada.primitive.BoundPrimitive¶
A
collada.primitive.Primitivebound to a transform matrix and material mapping.- __init__()¶
Methods
__init__()shapes()Iterate through the items in this primitive.
Attributes
normalRead-only numpy.array of size Nx3 where N is the number of normal values in the primitive's normal source array.
normal_indexRead-only numpy.array of size Nx3 where N is the number of vertices in the primitive.
texcoord_indexsetRead-only tuple of texture coordinate index arrays.
texcoordsetRead-only tuple of texture coordinate arrays.
vertexRead-only numpy.array of size Nx3 where N is the number of vertex points in the primitive's vertex source array.
vertex_indexRead-only numpy.array of size Nx3 where N is the number of vertices in the primitive.