Click or drag to resize

BitWriterWriteRangedSingle Method

[This is preliminary documentation and is subject to change.]

Write a single-precision floating point value to 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)
Syntax
C#
public void WriteRangedSingle(
	float value,
	float minValue,
	float maxValue,
	int bytes
)
Request Example View Source

Parameters

value
Type: SystemSingle
Value to write
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 result should occupy. Must be between 1 and 4 (inclusive)
See Also