Vector2()Implicit Cast Operator ( Vector2 as Vector3 )On this pageImplicit Cast Operator ( Vector2 as Vector3 ) Converts a Vector2 to a Vector3. From TypeTo TypeVector2Vector3 Objects of type Vector2 can be used instead of type Vector3 Extra Detail A Vector2 can be implicitly converted into a Vector3. (The z is set to zero in the result).