You are here: Start » AVL.NET » AVL.CreateVector Method
AVL.CreateVector Method
Produces a vector of given length and direction.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CreateVector( float inLength, float inDirection, out AvlNet.Vector2D outVector )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inLength | float | Desired length of the vector in pixels. | ||
![]() | inDirection | float | Desired direction of the vector in degrees. | ||
![]() | outVector | AvlNet.Vector2D | The resulting vector. |


