Sdílet prostřednictvím


PacketReader.ReadSingle Method

Reads a 4-byte floating point value.

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

Syntax

public override float ReadSingle ()

Return Value

Reads a 4-byte floating point value 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