Short2.ToVector2 Method

Expands the packed representation to a vector.

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

Syntax

public Vector2 ToVector2 ()

Return Value

The expanded Short2.

See Also

Reference

Short2 Structure
Short2 Members
Microsoft.Xna.Framework.Graphics.PackedVector Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone