Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Quaternion.Quaternion

Quaternion(x: float, y: float, z: float, w: float)
Quaternion(float x, float y, float z, float w);
def Quaternion(x as float, y as float, z as float, w as float)

Description

Constructs new Quaternion with given x,y,z,w components.