You are here: Start » AVL.NET » Invoke.CreateVector

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
inLengthfloatDesired length of the vector in pixels.
inDirectionfloatDesired direction of the vector in degrees.
outVectorAvl.Vector2DThe resulting vector.

See also