Свойство | Тип | Описание | |
---|---|---|---|
x | double | ||
y | double |
Метод | Описание | |
---|---|---|
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 | |
Результат | System |
public applyAxisAngle ( Vector2 cPos, double angleRad ) : Vector2 | ||
cPos | Vector2 | |
angleRad | double | |
Результат | Vector2 |
public multiplyScalar ( double scalar ) : Vector2 | ||
scalar | double | |
Результат | Vector2 |
public set ( double x, double y ) : THREE.Vector2 | ||
x | double | |
y | double | |
Результат | THREE.Vector2 |
public subVectors ( Vector2 v1, Vector2 v2 ) : Vector2 | ||
v1 | Vector2 | |
v2 | Vector2 | |
Результат | Vector2 |