Bases: object
Single line representation. Represents the line between two points (x0,y0,z0) and (x1,y1,z1). A Line is read-only.
A Line should not be created manually.
Methods
__init__(indices, vertices, normals, ...) | A Line should not be created manually. |
A (2, 3) numpy float array containing the endpoints of the line
A (2, 3) numpy float array with the normals for the endpoints of the line. Can be None.
A 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. Can be length 0 if there are no texture coordinates.
If coming from an unbound collada.lineset.LineSet, contains a string with the material symbol. If coming from a bound collada.lineset.BoundLineSet, contains the actual collada.material.Effect the line is bound to.