For the complete documentation index, see llms.txt. This page is also available as Markdown.

renderer.pushMatrix

pushMatrix(body): void

Runs a function with its own transform. Any translate/rotate/scale applied inside only affects draws made inside, and is always undone afterwards - even if the function throws.

Parameters

body

Function

The function to run with the pushed transform.

Returns

void

Last updated