0 out of 2 rated this helpful - Rate this topic

Vector2.Length Method

Calculates the length of the vector.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public float Length ()

Return Value

Length of the vector.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Not helpful
A vector is a point.... What is its length?$0 $0 The distance from the origin?