Simstim

VEX Dictionary / toNDC

toNDC

Converts a position from the current shading space into a camera's normal device coordinates, with 0 to 1 covering the view.

group: transformtransform

Available in every context

Usage

vector toNDC(vector point)
vector toNDC(string camera_name, vector point)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗