Lidgren Network Library documentation |
NetBuffer..::..ReadRangedSingle Method |
NetBuffer Class See Also Send Feedback |
Reads a 32 bit floating point value written using WriteRangedSingle()
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public float ReadRangedSingle( float min, float max, int numberOfBits ) |
Visual Basic |
---|
Public Function ReadRangedSingle ( _ min As Single, _ max As Single, _ numberOfBits As Integer _ ) As Single |
Visual C++ |
---|
public: float ReadRangedSingle( float min, float max, int numberOfBits ) |
Parameters
- min
- Type: System..::..Single
The minimum value used when writing the value
- max
- Type: System..::..Single
The maximum value used when writing the value
- numberOfBits
- Type: System..::..Int32
The number of bits used when writing the value