Skip to content

raylib.rlSetMatrixProjection

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Set a custom projection matrix (replaces internal projection matrix)

Parameters

Parameter Default Value Note
proj

Return value

None.

Notes

Example

savedProj = raylib.rlGetMatrixProjection()
// modify projection...
raylib.rlSetMatrixProjection savedProj  // restore

Clone this wiki locally