get_directional_light_cascade_settings
Retrieve the seven Cascaded Shadow Map (CSM) settings of a directional light, including cascade count, distribution, and shadow distance. Errors if the actor is not a directional light.
Instructions
Read the seven Cascaded Shadow Map (CSM) settings of a directional light: dynamic shadow distance (movable/stationary), cascade count, distribution exponent, transition fraction, distance-fadeout fraction, and per-object inset shadows for movable objects. Round-trips set_directional_light_cascade_settings. Errors honestly if the actor is not a directional light.
Returns: { light_name, light_subtype, dynamic_shadow_distance_movable, dynamic_shadow_distance_stationary, num_dynamic_shadow_cascades, cascade_distribution_exponent, cascade_transition_fraction, shadow_distance_fadeout_fraction, use_inset_shadows_for_movable_objects }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| light_name | Yes | Name of the directional light actor to query |