Vector2
.Set
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Vector2
Vector2
.Set
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
Vector2
All Members
Variables
magnitude
normalized
sqrMagnitude
this [int index]
x
y
Constructors
Vector2
Functions
Normalize
Scale
Set
ToString
Class Variables
one
right
up
zero
Class Functions
Angle
ClampMagnitude
Distance
Dot
Lerp
Max
Min
MoveTowards
operator !=
operator *
operator +
operator -
operator /
operator ==
operator Vector2
operator Vector3
Scale
function
Set (new_x :
float
, new_y :
float
) :
void
Description
Set x and y components of an existing Vector2.