PlayCanvas-Eingabe, Kamera und UI
Koordiniert Kamera, Objektauswahl und Oberflächeneingaben im eingebetteten Spiel. Behandelt Canvas-Koordinaten, Fokusverlust und lesbare UI getrennt von der internen Renderauflösung.
playcanvas-input-camera-ui
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze dies bei unzuverlässiger Auswahl nach Größenwechsel oder UI-Überlagerung.
Wobei hilft er dir?
- Ordnet Geräte Aktionen und canvasrelativen Positionen zu.
- Behandelt Zeigerübernahme, Fokusverlust und UI-Eingabeverantwortung.
- Trennt UI-Lesbarkeit von interner Renderauflösung.
Das könntest du fragen
Bette unser 3D-Raumgestaltungsspiel neben einem Produktpanel ein. Ziehe Möbel bei gezoomter Kamera, öffne das Panel und wechsle mit gehaltener Taste den Tab. Auswahl bleibt unter dem Zeiger, Panelklicks bewegen keine Möbel und Fokusverlust stoppt Bewegung.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
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.
Enthaltene Dateien 1
SKILL.md
