Reads a 32 bit floating point value written using WriteUnitSingle()
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public float ReadUnitSingle(
int numberOfBits
) |
Visual Basic |
---|
Public Function ReadUnitSingle ( _
numberOfBits As Integer _
) As Single |
Visual C++ |
---|
public:
float ReadUnitSingle(
int numberOfBits
) |
Parameters
- numberOfBits
- Type: System..::..Int32
The number of bits used when writing the value
Return Value
A floating point value larger or equal to 0 and smaller or equal to 1
See Also