Skip to main content

manage_graphics

Auto-generated from the Python tool registry. Do not hand-edit outside <!-- examples:start --><!-- examples:end --> blocks — the generator (tools/generate_docs_reference.py) will overwrite them.

Group: core  ·  Module: services.tools.manage_graphics

Description​

Manage rendering graphics: volumes, post-processing, light baking, rendering stats, pipeline settings, and URP renderer features. Use ping to check pipeline and available features.

VOLUME (require URP/HDRP):

  • volume_create, volume_add_effect, volume_set_effect, volume_remove_effect
  • volume_get_info, volume_set_properties, volume_list_effects, volume_create_profile

BAKE (Edit mode only):

  • bake_start, bake_cancel, bake_status, bake_clear, bake_reflection_probe
  • bake_get_settings, bake_set_settings
  • bake_create_light_probe_group, bake_create_reflection_probe, bake_set_probe_positions

STATS:

  • stats_get: Rendering counters (draw calls, batches, triangles, etc.)
  • stats_list_counters, stats_set_scene_debug, stats_get_memory

PIPELINE:

  • pipeline_get_info, pipeline_set_quality, pipeline_get_settings, pipeline_set_settings

FEATURES (URP only):

  • feature_list, feature_add, feature_remove, feature_configure, feature_toggle, feature_reorder

SKYBOX / ENVIRONMENT:

  • skybox_get: Read all environment settings (material, ambient, fog, reflection, sun)
  • skybox_set_material: Set skybox material by asset path
  • skybox_set_properties: Set properties on current skybox material (tint, exposure, rotation)
  • skybox_set_ambient: Set ambient lighting mode and colors
  • skybox_set_fog: Enable/configure fog (mode, color, density, start/end distance)
  • skybox_set_reflection: Set environment reflection settings
  • skybox_set_sun: Set the sun source light

Parameters​

NameTypeRequiredDescription
actionstryesThe graphics action to perform.
targetstr | None—Target object name or instance ID.
effectstr | None—Effect type name (e.g., 'Bloom', 'Vignette').
parametersdict[str, Any] | None—Dict of parameter values.
propertiesdict[str, Any] | None—Dict of properties to set.
settingsdict[str, Any] | None—Dict of settings (bake/pipeline).
namestr | None—Name for created objects.
is_globalbool | None—Whether Volume is global (default true).
weightfloat | None—Volume weight (0-1).
priorityfloat | None—Volume priority.
profile_pathstr | None—Asset path for VolumeProfile.
effectslist[dict[str, Any]] | None—Effect definitions for volume_create.
pathstr | None—Asset path for volume_create_profile.
levelstr | None—Quality level name or index.
positionlist[float] | None—Position [x,y,z].
grid_sizelist[int] | None—Probe grid size [x,y,z].
spacingfloat | None—Probe grid spacing.
sizelist[float] | None—Probe/volume size [x,y,z].
resolutionint | None—Probe resolution.
modestr | None—Probe mode or debug mode.
hdrbool | None—HDR for reflection probes.
box_projectionbool | None—Box projection for reflection probes.
positionslist[list[float]] | None—Probe positions array.
indexint | None—Feature index.
activebool | None—Feature active state.
orderlist[int] | None—Feature reorder indices.
async_bakebool | None—Async bake (default true).
feature_typestr | None—Renderer feature type name.
materialstr | None—Material asset path for feature.
colorlist[float] | None—Color [r,g,b,a] for ambient/fog.
intensityfloat | None—Intensity value (ambient/reflection).
ambient_modestr | None—Ambient mode: Skybox, Trilight, Flat, Custom.
equator_colorlist[float] | None—Equator color [r,g,b,a] (Trilight mode).
ground_colorlist[float] | None—Ground color [r,g,b,a] (Trilight mode).
fog_enabledbool | None—Enable or disable fog.
fog_modestr | None—Fog mode: Linear, Exponential, ExponentialSquared.
fog_colorlist[float] | None—Fog color [r,g,b,a].
fog_densityfloat | None—Fog density (Exponential modes).
fog_startfloat | None—Fog start distance (Linear mode).
fog_endfloat | None—Fog end distance (Linear mode).
bouncesint | None—Reflection bounces.
reflection_modestr | None—Default reflection mode: Skybox, Custom.

Returns​

A dict containing the Unity response. The exact shape depends on the action.

Examples​

No examples yet. Add usage examples here — they will be preserved across regenerations.