OptionalagentElement to mount the overlay
OptionalcursorOptional override for the cursor arrow size in CSS pixels. Default 14.
OptionalexcludeDrop the local peer from the result. Default true.
OptionalfontOptional override for label font in CSS. Default '12px sans-serif'.
OptionalnowOverride Date.now.
OptionalpaletteOverride the random color palette.
OptionalstaleWall-clock ms after which a peer is considered stale. Default 10_000.
Viewport name to filter cursor2d to.
OptionalworldHost-supplied world→screen projector. When provided, peers' cursor3d
values (published by mountPresenceInViewer with raycastToWorld)
are projected through THIS viewer's camera, so every peer sees
cursors anchored to the same world point regardless of their own
perspective.
Returning null (point is behind the camera, off-screen, etc.)
hides the peer's cursor that frame. cursor2d continues to be used
as a fallback when a peer hasn't published a 3D cursor.
Override the agent palette.