new Vector4(xopt, yopt, zopt, wopt)
a vector 4 class
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
x |
number |
<optional> |
0 | |
y |
number |
<optional> |
0 | |
z |
number |
<optional> |
0 | |
w |
number |
<optional> |
1 |
- Source:
Methods
add()
- Source:
applyMatrix4()
- Source:
copy()
- Source:
dot()
- Source:
equals()
- Source:
fromArray()
- Source:
getLength()
- Source:
getLengthSquared()
- Source:
lerpVectors()
- Source:
multiply()
- Source:
multiplyScalar()
- Source:
normalize()
- Source:
set()
- Source:
subVectors()
- Source:
toArray()
- Source: