Vec3 (2+1)

Vec3 (2+1)

Function. Converts a 2D value (vector) to 3D by adding a Z coordinate.

Takes a 2D input and combines it with a separate Z value to produce a 3D vector.

Properties & inputs:

  • Input (input): The 2D vector providing X and Y components.
  • Z (input | property): The Z coordinate to append.

Output:

  • 3D vector composed of the 2D input's X, Y and the provided Z value.