OpenMetaverse Protocol Library Developers API Documentation
CreateFromEulers Method (roll, pitch, yaw)
NamespacesOpenMetaverseQuaternionCreateFromEulers(Single, Single, Single)
Creates a quaternion from roll, pitch, and yaw euler angles in radians
Declaration Syntax
C#
public 
static 
Quaternion 
CreateFromEulers(
        
float 
roll,
        
float 
pitch,
        
float 
yaw
)
Parameters
roll ( Single)
X angle in radians
pitch ( Single)
Y angle in radians
yaw ( Single)
Z angle in radians
Return Value
Quaternion representation of the euler angles

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