Reads a 32 bit floating point value written using WriteSignedSingle()
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
| C# |
|---|
public float ReadSignedSingle(
int numberOfBits
) |
| Visual Basic |
|---|
Public Function ReadSignedSingle ( _
numberOfBits As Integer _
) As Single |
| Visual C++ |
|---|
public:
float ReadSignedSingle(
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 -1 and smaller or equal to 1
See Also