Lengthens or shortens a vector preserving its direction.
Syntax
C++
C#
Python
def ResizeVector(
inVector: Vector2D,
inNewLength: float,
/
)
-> outVector: Vector2D
Parameters
|
Name |
Type |
Range |
Default |
Description |
 |
inVector |
Vector2D |
|
|
|
 |
inNewLength |
float |
0.0 -  |
|
|
 |
outVector |
Vector2D |
|
|
|