menu
three_dart package
documentation
three3d/math/vector2.dart
Vector2
setLength method
setLength method
dark_mode
light_mode
setLength
method
Vector2
setLength
(
double
length
)
Implementation
Vector2 setLength(double length) { return normalize().multiplyScalar(length); }
three_dart package
documentation
three3d/math/vector2
Vector2
setLength method
Vector2 class