Skip to main content

Implicit Cast Operator ( Vector2 as Vector3 )

Converts a Vector2 to a Vector3.

From TypeTo Type
Vector2Vector3

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).