placeOnScreen
placeOnScreen(
point,lens,box,clamp,margin):AnchorPlacement
Defined in: sdk/src/ui/core/world-anchor.ts:113
Where a world point stands on the screen box, in layout pixels from its top-left corner. Pure: the system below and the tests share it.
Behind the eye a perspective projection mirrors the point to the opposite side; a clamped marker is put on the edge in the point’s true direction instead.
Parameters
Section titled “Parameters”AnchorLens
height
Section titled “height”number
number
boolean
margin
Section titled “margin”number
Returns
Section titled “Returns”AnchorPlacement