setXYZW( index, x, y, z, w ) {

		index *= this.itemSize;

		if ( this.normalized ) {

			x = normalize( x, this.array );
			y = normalize( y, this.array );
			z = normalize( z, this.array );
			w = normalize( w, this.array );

		}

		this.array[ index + 0 ] = x;
		this.array[ index + 1 ] = y;
		this.array[ index + 2 ] = z;
		this.array[ index + 3 ] = w;

		return this;

	}
Sets the x, y, z and w component of the vector at the given index.

@param {number} index - The index into the buffer attribute.
@param {number} x - The value for the x component to set.
@param {number} y - The value for the y component to set.
@param {number} z - The value for the z component to set.
@param {number} w - The value for the w component to set.
@return {BufferAttribute} A reference to this instance.