RadiusVisualisationSpecification :: struct changedExample code
| sprite optional | :: Sprite | The sprite to show. [...] |
The sprite to show. [...] | ||
| distance optional | :: double | Must be greater than or equal to 0. [...] |
Must be greater than or equal to 0. [...] | ||
| offset optional | :: Vector | Offset of the sprite from the position of the entity. [...] |
Offset of the sprite from the position of the entity. [...] | ||
| draw_in_cursor optional | :: boolean | |
| draw_on_selection optional | :: boolean | |
| distance_quality_multipliernew optional | :: dictionary[QualityID → double] | Each value must be >= 0.01. [...] |
Each value must be >= 0.01. [...] | ||
Properties
sprite :: Sprite optional 
distance :: double optional 
offset :: Vector optional 
draw_in_cursor :: boolean optional 
draw_on_selection :: boolean optional 
Example 
radius_visualisation_specification =
{
sprite =
{
filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png",
size = 10
},
distance = 5,
offset = {0, -5}
}

