Class THREE.Vector3
Defined in: Vector3.js.
Constructor Attributes | Constructor Name and Description |
---|---|
THREE.Vector3(x, y, z)
|
Method Attributes | Method Name and Description |
---|---|
add(a, b)
|
|
addScalar(s)
|
|
addSelf(v)
|
|
angleTo(v)
|
|
clone()
|
|
copy(v)
|
|
cross(a, b)
|
|
crossSelf(v)
|
|
distanceTo(v)
|
|
divideScalar(s)
|
|
divideSelf(v)
|
|
dot(v)
|
|
equals(v)
|
|
length()
|
|
lengthSq()
|
|
lerpSelf(v, alpha)
|
|
multiply(a, b)
|
|
multiplySelf(v)
|
|
negate()
|
|
set(x, y, z)
|
|
setEulerFromQuaternion(q, order)
|
|
setEulerFromRotationMatrix(m, order)
|
|
setLength(l)
|
|
setX(x)
|
|
setY(y)
|
|
setZ(z)
|
|
sub(a, b)
|
|
subSelf(v)
|
Method Detail
add(a, b)
- Parameters:
- a
- b
addScalar(s)
- Parameters:
- s
addSelf(v)
- Parameters:
- v
angleTo(v)
- Parameters:
- v
clone()
copy(v)
- Parameters:
- v
cross(a, b)
- Parameters:
- a
- b
crossSelf(v)
- Parameters:
- v
distanceTo(v)
- Parameters:
- v
distanceToSquared(v)
- Parameters:
- v
divideScalar(s)
- Parameters:
- s
divideSelf(v)
- Parameters:
- v
dot(v)
- Parameters:
- v
equals(v)
- Parameters:
- v
getPositionFromMatrix(m)
- Parameters:
- m
getScaleFromMatrix(m)
- Parameters:
- m
length()
lengthManhattan()
lengthSq()
lerpSelf(v, alpha)
- Parameters:
- v
- alpha
multiply(a, b)
- Parameters:
- a
- b
multiplyScalar(s)
- Parameters:
- s
multiplySelf(v)
- Parameters:
- v
negate()
normalize()
set(x, y, z)
- Parameters:
- x
- y
- z
setEulerFromQuaternion(q, order)
- Parameters:
- q
- order
setEulerFromRotationMatrix(m, order)
- Parameters:
- m
- order
setLength(l)
- Parameters:
- l
setX(x)
- Parameters:
- x
setY(y)
- Parameters:
- y
setZ(z)
- Parameters:
- z
sub(a, b)
- Parameters:
- a
- b
subSelf(v)
- Parameters:
- v