Click or drag to resize

NetBufferReadRangedSingle Method

Reads a 32 bit floating point value written using WriteRangedSingle()

Namespace:  Internal.Lidgren.Network
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public float ReadRangedSingle(
	float min,
	float max,
	int numberOfBits
)

Parameters

min
Type: SystemSingle
The minimum value used when writing the value
max
Type: SystemSingle
The maximum value used when writing the value
numberOfBits
Type: SystemInt32
The number of bits used when writing the value

Return Value

Type: Single
A floating point value larger or equal to MIN and smaller or equal to MAX
See Also