Vector2.operator Vector3 Manual     Reference     Scripting  
Scripting > Runtime Classes > Vector2
Vector2.operator Vector3

static implicit function Vector3 (v : Vector2) : Vector3

Description

Converts a Vector2 to a Vector3.

Vector2s can be implicitly converted to Vector3 (z is set to zero in the result).