Đi tới nội dung chính
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn và đang được hiển thị bằng tiếng Anh.

React Three Fiber Interaction

Skill Đã xác minh
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.

Tóm tắt từ 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.

Cài đặt

npx skills add enzed/r3f-skills

Chạy Vercel skills CLI (skills.sh) qua npx — yêu cầu Node.js trên máy và ít nhất một agent tương thích skills đã được cài (Claude Code, Cursor, Codex, …). Giả định repo tuân theo định dạng agentskills.io.

4 months ago
79 stars
MIT
Cập nhật 2 days ago
Xem mã nguồn