agentleFS
geoai-latamgeoai-latam/SKILL_JS5_ARCGIS/skills/arcgis-scene-environment/AGENTS.md

SKILL_JS5_ARCGIS / arcgis-scene-environment

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

Quick-reference for 3D environment (SDK 5.1). Read before adjusting lighting/weather. 1. Fixed instant (shadow study)? → lighting: { type: "sun", date, directShadowsEnabled: true, cameraTrackingEnabled: false }. 2. Even light? → lighting: { type: "virtual" }. 3. Weather? → environment.weather = { type: ... } in a global scene; check weatherAvailable. 4. UI? → arcgis-daylight, arcgis-weather.

The file

Files
AGENTS.md

Agent Guide: arcgis-scene-environment

Quick-reference for 3D environment (SDK 5.1). Read before adjusting lighting/weather.

Quick Decision Tree

  1. Fixed instant (shadow study)? → lighting: { type: "sun", date, directShadowsEnabled: true, cameraTrackingEnabled: false }.
  2. Even light? → lighting: { type: "virtual" }.
  3. Weather? → environment.weather = { type: ... } in a global scene; check weatherAvailable.
  4. UI? → arcgis-daylight, arcgis-weather.

Setup Checklist

  • Use a SceneView (a MapView ignores environment).
  • directShadowsEnabled: true (false by default).
  • Pass date with an explicit offset (the default is 15 March, not now).
  • cameraTrackingEnabled: false if the instant must not move.
  • Weather only in global scenes near the ground; parameters 0–1.

Anti-patterns (one-liner reminders)

  • ❌ Expecting shadows without directShadowsEnabled.
  • ❌ A shadow study with cameraTrackingEnabled left on (the date jumps when navigating).
  • ❌ Weather in a local scene (weatherAvailable false, no error).
  • ❌ new Date("2026-06-21") meaning local midnight (it is UTC).

Files in This Skill

  • SKILL.md / SKILL.es.md — full guides
  • references/api-detail.md — environment / lighting / weather
  • references/examples.md — lighting / shadows / weather
  • references/pitfalls.md — extended troubleshooting
  • scripts/snippet-environment.ts

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.