跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

React Three Fiber Interaction

Skill 已验证
98

React Three Fiber interaction - pointer events, controls, gestures, selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.

AI 摘要

This skill details how to implement pointer events, various camera controls (Orbit, Map, Fly, etc.), transform gizmos, drag and drop functionality, keyboard controls, and selection systems using React Three Fiber and related libraries like Drei and use-gesture. It includes code examples for event handling, custom logic, and integrating with R3F's declarative rendering.

安装

npx skills add enzed/r3f-skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

4 months ago
79 stars
MIT
更新于 6 days ago
查看源代码