共用方式為


PacketReader.ReadVector2 Method

Reads a Vector2 value.

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

Syntax

public Vector2 ReadVector2 ()

Return Value

Vector data from the received network packet.

See Also

Tasks

How To: Receive Data

Reference

PacketReader Class
PacketReader Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune