BitReaderReadRangedSingle Method |  |
[This is preliminary documentation and is subject to change.]
Read a single-precision floating point value from the stream. The value is between (inclusive) the minValue and maxValue.
Namespace:
MLAPI.Serialization
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic float ReadRangedSingle(
float minValue,
float maxValue,
int bytes
)
Request Example
View SourceParameters
- minValue
- Type: SystemSingle
Minimum value that this value could be - maxValue
- Type: SystemSingle
Maximum possible value that this could be - bytes
- Type: SystemInt32
How many bytes the compressed value occupies. Must be between 1 and 4 (inclusive)
Return Value
Type:
SingleThe read value
See Also