Свойство | Type | Description | |
---|---|---|---|
x | double | ||
y | double |
Méthode | Description | |
---|---|---|
Vector2 ( ) : System | ||
Vector2 ( double x, double y ) : System | ||
add ( Vector2 v ) : Vector2 | ||
applyAxisAngle ( Vector2 cPos, double angleRad ) : Vector2 | ||
clone ( ) : Vector2 | ||
copy ( Vector2 v ) : Vector2 | ||
dot ( Vector2 v ) : double | ||
length ( ) : double | ||
multiplyScalar ( double scalar ) : Vector2 | ||
normalize ( ) : Vector2 | ||
set ( double x, double y ) : THREE.Vector2 | ||
sub ( Vector2 v ) : Vector2 | ||
subVectors ( Vector2 v1, Vector2 v2 ) : Vector2 |
public Vector2 ( double x, double y ) : System | ||
x | double | |
y | double | |
Résultat | System |
public applyAxisAngle ( Vector2 cPos, double angleRad ) : Vector2 | ||
cPos | Vector2 | |
angleRad | double | |
Résultat | Vector2 |
public multiplyScalar ( double scalar ) : Vector2 | ||
scalar | double | |
Résultat | Vector2 |
public set ( double x, double y ) : THREE.Vector2 | ||
x | double | |
y | double | |
Résultat | THREE.Vector2 |
public subVectors ( Vector2 v1, Vector2 v2 ) : Vector2 | ||
v1 | Vector2 | |
v2 | Vector2 | |
Résultat | Vector2 |