跳转到内容

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.

Vec3

AnchorLens

number

number

boolean

number

AnchorPlacement