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.

輸入

Vector

Position to project.

變換

Transformation matrix applied before projection.

Projection

Projection matrix used to project the transformed position.

輸出

Normalized

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.