new Vector3(xopt, yopt, zopt)
a vector 3 class
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
x |
number |
<optional> |
0 | |
y |
number |
<optional> |
0 | |
z |
number |
<optional> |
0 |
- Source:
Methods
add()
- Source:
addScalar()
- Source:
addScaledVector()
- Source:
addVectors()
- Source:
applyMatrix3()
- Source:
applyMatrix4()
- Source:
applyQuaternion()
- Source:
clone()
- Source:
copy()
- Source:
cross()
- Source:
crossVectors()
- Source:
distanceTo()
- Source:
distanceToSquared()
- Source:
dot()
- Source:
equals()
- Source:
fromArray()
- Source:
getLength()
- Source:
getLengthSquared()
- Source:
lerpVectors()
- Source:
max()
- Source:
min()
- Source:
multiply()
- Source:
multiplyScalar()
- Source:
negate()
- Source:
normalize()
- Source:
project()
- Source:
reflect()
- Source:
set()
- Source:
setFromMatrixColumn()
- Source:
setFromMatrixPosition()
- Source:
setFromSpherical()
- Source:
sub()
- Source:
subtract()
- Source:
subVectors()
- Source:
toArray()
- Source:
transformDirection()
- Source:
unproject()
- Source: