RescaleVector
Lengthens or shortens a vector relatively preserving its direction.
Syntax
C++
Python
def RescaleVector( inVector: Vector2D, /, *, inScale: float = 1.0, inInverse: bool = False ) -> outVector: Vector2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inVector | Vector2D | ||
![]() |
inScale | float | 1.0 | Scaling factor |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outVector | Vector2D |


