collada.lineset.Line¶
- class collada.lineset.Line(indices, vertices, normals, texcoords, material)¶
Single line representation. Represents the line between two points
(x0,y0,z0)and(x1,y1,z1). A Line is read-only.- __init__(indices, vertices, normals, texcoords, material)¶
A Line should not be created manually.
Methods
__init__(indices, vertices, normals, ...)A Line should not be created manually.
Attributes
verticesA (2, 3) numpy float array containing the endpoints of the line
normalsA (2, 3) numpy float array with the normals for the endpoints of the line.
texcoordsA tuple where entries are numpy float arrays of size (2, 2) containing the texture coordinates for the endpoints of the line for each texture coordinate set.
materialIf coming from an unbound
collada.lineset.LineSet, contains a string with the material symbol.