You are here: Start » FIL.NET » Invoke.ResizeVector
Lengthens or shortens a vector preserving its direction.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void ResizeVector ( Fil.Vector2D inVector, float inNewLength, out Fil.Vector2D outVector )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inVector | Fil.Vector2D | |||
![]() | inNewLength | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | outVector | Fil.Vector2D |