environment
5 public commands in this category.
remove_skybox
Remove the scene skybox, reverting to clear color background
Scope:
scene:write. Token cost: 0.set_custom_skybox
Apply a custom skybox from a base64-encoded image asset
Scope:
scene:write. Token cost: 0.- assetId string (required)
- Asset identifier for the skybox image
- dataBase64 string (required)
- Base64-encoded image data
set_skybox
Set the scene skybox to a built-in preset or custom cubemap asset
Scope:
scene:write. Token cost: 0.- assetId string (optional)
- Asset ID of an imported KTX2 cubemap (not yet supported)
- brightness number (optional)
- Skybox brightness (100-5000, default 1000)
- iblIntensity number (optional)
- Image-based lighting intensity (100-5000, default 900)
- preset string (optional)
- Built-in skybox preset
- rotation number (optional)
- Skybox rotation in degrees (0-360)
update_environment
Update environment settings (clear color, fog)
Scope:
scene:write. Token cost: 0.- clearColor array (optional)
- [r, g, b] 0-1
- fogColor array (optional)
- fogEnabled boolean (optional)
- fogEnd number (optional)
- fogStart number (optional)
- iblIntensity number (optional)
- iblRotation number (optional)
- skyboxBrightness number (optional)
update_skybox
Update skybox brightness, IBL intensity, or rotation without changing the cubemap
Scope:
scene:write. Token cost: 0.- brightness number (optional)
- Skybox brightness (100-5000)
- iblIntensity number (optional)
- Image-based lighting intensity (100-5000)
- rotation number (optional)
- Skybox rotation in degrees (0-360)