OpenMetaverse Protocol Library Developers API Documentation
Quaternion Constructor (byteArray, pos, normalized)
NamespacesOpenMetaverseQuaternionQuaternion( array< Byte > [] () [] [] , Int32, Boolean)
Constructor, builds a quaternion object from a byte array
Declaration Syntax
C#
public 
Quaternion(
        
byte[] 
byteArray,
        
int 
pos,
        
bool 
normalized
)
Parameters
byteArray ( array< Byte > [] () [] [] )
Byte array containing four four-byte floats
pos ( Int32)
Offset in the byte array to start reading at
normalized ( Boolean)
Whether the source data is normalized or not. If this is true 12 bytes will be read, otherwise 16 bytes will be read.

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0