Transform and Project Node

Transform and Project node.

The Transform and Project node transforms a 3D position and projects it into normalized screen coordinates using the given transform and projection matrices.

This is a lower-level version of the 3D to Screen Space node that operates directly on projection data instead of a camera object.

输入

矢量

Position to project.

变换

Transformation matrix applied before projection.

投影

Projection matrix used to project the transformed position.

输出

规格化

Normalized screen-space coordinates.

A value of (0, 0) corresponds to the bottom-left corner of the projected view and (1, 1) corresponds to the top-right corner.

深度

Depth of the transformed position relative to the projection.