function SkeletonHelper( object ) {

        this.bones = this.getBoneList( object );

        var geometry = new Geometry();

        for ( var i = 0; i < this.bones.length; i ++ ) {

            var bone = this.bones[ i ];

            if ( (bone.parent && bone.parent.isBone) ) {

                geometry.vertices.push( new Vector3() );
                geometry.vertices.push( new Vector3() );
                geometry.colors.push( new Color( 0, 0, 1 ) );
                geometry.colors.push( new Color( 0, 1, 0 ) );

            }

        }

        geometry.dynamic = true;

        var material = new LineBasicMaterial( { vertexColors: VertexColors, depthTest: false, depthWrite: false, transparent: true } );

        LineSegments.call( this, geometry, material );

        this.root = object;

        this.matrix = object.matrixWorld;
        this.matrixAutoUpdate = false;

        this.update();

    }
@author Sean Griffin / http://twitter.com/sgrif
@author Michael Guerrero / http://realitymeltdown.com
@author mrdoob / http://mrdoob.com/
@author ikerr / http://verold.com