• Transforms a position vector using the given transformation matrix.

    Parameters

    • transformMat4: NodeMaterialConnectionPoint

      The transformation matrix.

    • positionVec3: NodeMaterialConnectionPoint

      The position vector.

    • Optionaloptions: Partial<TargetOptions>

      Optional target options.

    Returns NodeMaterialConnectionPoint

    A vec4 representing the transformed position.