You are here: Start » AVL.NET » AVS.CreateVector Method

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

See also