Share via


PacketReader.ReadSingle Method

Reads a 4-byte floating point value.

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

Syntax

public override float ReadSingle ()

Return Value

Reads a 4-byte floating point value from the received network packet.

See Also

Tasks

Receiving Network Data

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP