Vector2 Structure

Defines a vector with two components.

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

Syntax

[TypeConverterAttribute("typeof(Microsoft.Xna.Framework.Design.Vector2Converter)")]
[SerializableAttribute]
public struct Vector2 : IEquatable<Vector2>

See Also

Reference

Vector2 Members
Microsoft.Xna.Framework Namespace

Programming Guide

Math Overview

Platforms

Xbox 360, Windows XP SP2, Windows Vista