Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

Vector3.Vector3

public Vector3(float x, float y, float z);

Parameters

Description

Creates a new vector with given x, y, z components.


public Vector3(float x, float y);

Parameters

Description

Creates a new vector with given x, y components and sets z to zero.