# Lines

Todo: Lot of examples.

# Lines Example

    // Parameters:
    vectorType: string, //"V3" or "V2", this param will be removed
    points:     number [][] | Vector2[] | Vector3[],
    size:       number, 
    color:      number, 
    emissive:   number
    // Lines need array of points, two points per line.
    const line      = mw.add.line ( 'V3', pointsLine, 2,  0x00FF00, 0xffd144, )
    //Default material options
    public paramMaterial = {

        transparent:        true,
        opacity:            1,

        color:              0xFF0000,        
        emissive:           0xffd144,
        emissiveIntensity:  0.7,
        roughness:          0.5,
        metalness:          1,

        side:               DoubleSide,
        flatShading:        true,
        blending:           1,
        fog:                false,
        wireframe:          false
    }

More than 100 lines example:

Lines