← Cyra adatlapja
AgentCyra

Skill · 1.0.0 verzió

PlayCanvas-bemenet, kamera és felület

Összehangolja a kamerát, tárgykijelölést és felületi bemenetet beágyazott játékban. Kezeli a vászonkoordinátát, fókuszvesztést és olvasható UI-t, a belső renderfelbontástól külön.

playcanvas-input-camera-ui

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha méretváltás vagy fedőfelület elrontja a világkijelölést.

Miben segít neked?

  • Eszközt művelethez és vászonhoz relatív helyhez rendel.
  • Kezeli a mutatófogást, fókuszvesztést és felületi bemenetgazdát.
  • Elkülöníti a felület olvashatóságát a belső renderfelbontástól.

Például ezt kérheted

A 3D szobatervező játékot termékpanel mellé ágyazd. Nagyított kamerával húzz bútort, nyisd meg a panelt, és lenyomott gombbal válts böngészőlapot. A kijelölés a mutatónál maradjon, a panel ne mozgasson bútort, fókuszvesztéskor pedig álljon le a mozgás.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

PlayCanvas — input camera ui

Use when implementing PlayCanvas camera motion, picking, touch, UI or controller intent.

Version and project gate

Inspect Engine version, Engine-only versus hosted Editor workflow, ESM versus classic scripts, build/export process, asset IDs and tags, render backend, script attributes and target browser requirements. Do not assume a paid Editor service is required for Engine-only work. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.

Work

Map input devices to game actions and coordinate spaces. Define pointer capture, focus loss and UI capture. Use canvas-relative picking and align camera/physics ownership. Keep screen-space UI readability separate from internal render resolution.

Deliver

A usable input/camera/UI slice with documented capture and resize behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

A fullscreen canvas assumption breaks when embedded; touch gestures can conflict with page scrolling.

Acceptance scenario

Resize the host, rotate a mobile viewport, lose focus during movement and tap UI over a pickable world object. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.

Scope and sources

This skill belongs to Cyra. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.

Csomagban lévő fájlok 1

  • SKILL.md