setLength method

Vector4 setLength(
  1. num length
)

Implementation

Vector4 setLength(num length) {
  return normalize().multiplyScalar(length);
}