一键导入
client
VuerClient for connecting to Vuer servers and sending custom events (plugin:vuer@vuer)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
VuerClient for connecting to Vuer servers and sending custom events (plugin:vuer@vuer)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Vuer 3D component reference - primitives, meshes, URDF, cameras, lighting, images (plugin:vuer@vuer)
Vuer event system - session APIs, custom events, handlers, RPC, streaming (plugin:vuer@vuer)
Common Vuer patterns - animation, URDF, point clouds, interactivity, batch updates (plugin:vuer@vuer)
Vuer quick start and basic usage patterns for real-time 3D visualization in robotics and AI applications (plugin:vuer@vuer)
Vuer server configuration, decorators, event handlers, SSL/TLS for VR (plugin:vuer@vuer)
Vuer VR/AR/WebXR - hand tracking, controllers, AR mesh, haptics (plugin:vuer@vuer)
| name | client |
| description | VuerClient for connecting to Vuer servers and sending custom events (plugin:vuer@vuer) |
import asyncio
from vuer import VuerClient
from vuer.events import ClientEvent
class MyEvent(ClientEvent):
etype = "MY_EVENT"
async def main():
async with VuerClient(URI="ws://localhost:8012") as client:
client.send @ MyEvent(value={"data": 123}) # Fire-and-forget
await client.send(MyEvent(value="x")) # Awaitable
asyncio.run(main())
class SetPositionEvent(ClientEvent):
etype = "SET_POSITION"
value = [0, 0, 0] # Optional default
event = await client.recv(timeout=5.0)
async for event in client:
print(event.etype, event.value)
@app.add_handler("MY_EVENT")
async def on_event(event, session: VuerSession):
session.upsert @ Box(key="box", position=event.value)