You are here: Start » AVL.NET » AVL.RescalePath
Translates each point of a path proportionally to its distance to a reference point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RescalePath ( AvlNet.Path inPath, float inScale, bool inInverse, AvlNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | ||
inInverse | bool | Switches to the inverse operation. | |||
outPath | AvlNet.Path | Output path. |