Class THREE.Vector4
Defined in: Vector4.js.
Constructor Attributes | Constructor Name and Description |
---|---|
THREE.Vector4(x, y, z, w)
|
Method Attributes | Method Name and Description |
---|---|
add(a, b)
|
|
addSelf(v)
|
|
clone()
|
|
copy(v)
|
|
divideScalar(s)
|
|
dot(v)
|
|
length()
|
|
lengthSq()
|
|
lerpSelf(v, alpha)
|
|
negate()
|
|
set(x, y, z, w)
|
|
setLength(l)
|
|
sub(a, b)
|
|
subSelf(v)
|
Method Detail
add(a, b)
- Parameters:
- a
- b
addSelf(v)
- Parameters:
- v
clone()
copy(v)
- Parameters:
- v
divideScalar(s)
- Parameters:
- s
dot(v)
- Parameters:
- v
length()
lengthManhattan()
lengthSq()
lerpSelf(v, alpha)
- Parameters:
- v
- alpha
multiplyScalar(s)
- Parameters:
- s
negate()
normalize()
set(x, y, z, w)
- Parameters:
- x
- y
- z
- w
setAxisAngleFromQuaternion(q)
- Parameters:
- q
setAxisAngleFromRotationMatrix(m)
- Parameters:
- m
setLength(l)
- Parameters:
- l
sub(a, b)
- Parameters:
- a
- b
subSelf(v)
- Parameters:
- v