• Creates a vec2 using the input vector's X and Z components. Useful for projecting 3D positions onto a 2D plane.

    Parameters

    • inputVec: NodeMaterialConnectionPoint

      The input vector (must be vec3 or vec4).

    • Optionaloptions: Partial<TargetOptions>

      Optional target options.

    Returns NodeMaterialConnectionPoint

    A vec2 containing the X and Z components.