You are here: Start » FIL.NET » FIS.RescaleVector Method
FIS.RescaleVector Method
Lengthens or shortens a vector relatively preserving its direction.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void RescaleVector ( FilNet.Vector2D inVector, float inScale, bool inInverse, out FilNet.Vector2D outVector )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inVector | FilNet.Vector2D | ||||
inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | ||
inInverse | bool | Switches to the inverse operation. | |||
outVector | FilNet.Vector2D |