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

renderer.getRenderOrigin

getRenderOrigin(): Vec3

The world position the camera transform is centered on this frame. Draw calls take world coordinates, so add your offsets to this to place shapes relative to a transform pushed with pushMatrix.

Returns

Vec3

A Vec3 of the render origin.

Last updated