Property | Type | Description | |
---|---|---|---|
x | double | ||
y | double | ||
z | double |
Method | Description | |
---|---|---|
Vector3 ( ) : System | ||
Vector3 ( double x, double y, double z ) : System | ||
add ( Vector3 v ) : Vector3 | ||
applyAxisAngle ( Vector3 cPos, double angleRad ) : Vector3 | ||
clone ( ) : Vector3 | ||
copy ( Vector3 v ) : Vector3 | ||
distanceTo ( Vector3 v ) : double |
Computes distance of this vector to v.
|
|
distanceToSquared ( Vector3 v ) : double |
Computes distanceToSquared of this vector to v.
|
|
dot ( Vector3 v ) : double | ||
length ( ) : double | ||
multiplyScalar ( double scalar ) : Vector3 | ||
negate ( ) : Vector3 | ||
normalize ( ) : Vector3 | ||
set ( double x, double y, double z ) : THREE.Vector3 | ||
sub ( Vector3 v ) : Vector3 | ||
subVectors ( Vector3 v1, Vector3 v2 ) : Vector3 | ||
unproject ( |
public Vector3 ( double x, double y, double z ) : System | ||
x | double | |
y | double | |
z | double | |
return | System |
public applyAxisAngle ( Vector3 cPos, double angleRad ) : Vector3 | ||
cPos | Vector3 | |
angleRad | double | |
return | Vector3 |
public distanceToSquared ( Vector3 v ) : double | ||
v | Vector3 | |
return | double |
public multiplyScalar ( double scalar ) : Vector3 | ||
scalar | double | |
return | Vector3 |
public set ( double x, double y, double z ) : THREE.Vector3 | ||
x | double | |
y | double | |
z | double | |
return | THREE.Vector3 |
public subVectors ( Vector3 v1, Vector3 v2 ) : Vector3 | ||
v1 | Vector3 | |
v2 | Vector3 | |
return | Vector3 |