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.

Set(new_x: float, new_y: float, new_z: float, new_w: float): void;
void Set(float new_x, float new_y, float new_z, float new_w);
def Set(new_x as float, new_y as float, new_z as float, new_w as float) as void

Description

Set x, y, z and w components of an existing Quaternion.