public void setDirection(Vector3f direction) {
        this.direction = direction;
    }
<code>setDirection</code> sets the direction of the line.

@param direction the direction of the line.
jme3-core/src/main/java/com/jme3/math/Line.java