GeneratorInGroup2D

Inherits: QueryGenerator2D < Node2D

A query generator that generates QueryItem2Ds in each node within a group

Description

A query generator that generates QueryItem2Ds in each node within a group

Properties

float

collision_mask

1.0

QueryContext2D

generate_around

String

group

""

float

radius

500.0


Property Descriptions

float collision_mask = 1.0 🔗

  • void set_collision_mask(value: float)

  • float get_collision_mask()

The physics layers this generator scans.


QueryContext2D generate_around 🔗

Reference QueryContext2D, where a Shape2D will check around each of them in search of the members in group.


String group = "" 🔗

  • void set_group(value: String)

  • String get_group()

The target group.


float radius = 500.0 🔗

  • void set_range_radius(value: float)

  • float get_range_radius()

Radius of each Shape2D.