Documentation

Scale Aspect - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: 2D Vector :: Scale Aspect

Root.Vector2.ScaleAspect(
  Vector 2D Vector,
  Scalar 2D Vector
) 2D Vector
Returns the vector scaled to fit inside the specified vector

Parameters

Vector 2D Vector
The vector to scale
Scalar 2D Vector
The vector to scale to; the result will at least have one of the components of this vector

Return Value

2D Vector

If you think anything is missing, please feel free to: submit documentation feedback on this page