You are here: Start » AVL.NET » Invoke.CreateVector
Produces a vector of given length and direction.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateVector ( float inLength, float inDirection, out Avl.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 | Avl.Vector2D | The resulting vector. | 


