You are here: Start » AVL.NET » AVL.CreateVector(float, float, AvlNet.Vector2D)
AVL.CreateVector(float, float, AvlNet.Vector2D)
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
- inLength
- Type: System.Single
Desired length of the vector in pixels - inDirection
- Type: System.Single
Desired direction of the vector in degrees - outVector
- Type: AvlNet.Vector2D
The resulting vector
