You are here: Start » AVL.NET » Invoke.RescaleVector
Lengthens or shortens a vector relatively preserving its direction.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void RescaleVector ( Avl.Vector2D inVector, float inScale, bool inInverse, out Avl.Vector2D outVector )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inVector | Avl.Vector2D | |||
![]()  | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]()  | inInverse | bool | Switches to the inverse operation. | ||
![]()  | outVector | Avl.Vector2D | 


