GeneratorGridShape2D

Inherits: QueryGenerator2D < Node2D

A query generator that generates a horizontal grid around each QueryContext2D.

Description

A query generator that generates a horizontal grid around each QueryContext2D.

Properties

QueryContext2D

generate_around

float

grid_half_size

200.0

float

space_between

50.0


Property Descriptions

QueryContext2D generate_around 🔗

Reference QueryContext2D, where a grid will generate on each of these positions.


float grid_half_size = 200.0 🔗

  • void set_grid_half_size(value: float)

  • float get_grid_half_size()

The half the size of the grid, similar to radius.


float space_between = 50.0 🔗

  • void set_space_between(value: float)

  • float get_space_between()

The space between each point in the grid.