ข้ามไปยังเนื้อหาหลัก
เนื้อหานี้ยังไม่มีในภาษาของคุณ และกำลังแสดงเป็นภาษาอังกฤษ

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

เรียกใช้ Vercel skills CLI (skills.sh) ผ่าน npx — ต้องติดตั้ง Node.js ในเครื่อง และมี agent ที่รองรับ skills อย่างน้อยหนึ่งตัว (Claude Code, Cursor, Codex, …) ทั้งนี้สมมติว่า repo ใช้รูปแบบ agentskills.io

4 months ago
79 stars
MIT
อัปเดตเมื่อ 4 days ago
ดูซอร์สโค้ด