Click or drag to resize

BitReaderReadRotation Method

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

Read a rotation from the stream.

Namespace:  MLAPI.Serialization
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Quaternion ReadRotation(
	int bytesPerAngle
)
Request Example View Source

Parameters

bytesPerAngle
Type: SystemInt32
How many bytes each angle occupies. Must be between 1 and 4 (inclusive)

Return Value

Type: Quaternion
The rotation read from the stream
See Also