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.

Vector3.Set

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

Description

Set x, y and z components of an existing Vector3.