QuadNode

Inherits: RefCounted

There is currently no description for this class. Please help us by contributing one!

Properties

Array[QuadRect]

quad_rects

[]

int

quadrant_count

0

Array[QuadNode]

quadrants

[null, null, null, null]

Rect2i

rect

Rect2i(0, 0, 0, 0)

Methods

void

add(quad_rect: QuadRect)

bool

can_subdivide(size: Vector2i) static

Array

get_all_containing_point(point: Vector2i, exception_metadata: Variant = null) const

Array

get_all_under_rect(test_rect: Rect2i, exception_metadata: Variant = null) const

QuadRect

get_first_containing_point(point: Vector2i, exception_metadata: Variant = null) const

QuadRect

get_first_under_rect(test_rect: Rect2i, exception_metadata: Variant = null) const

Array[Rect2i]

get_quadrant_rects(rect: Rect2i) static

bool

is_empty() const

bool

remove(metadata: Variant)


Property Descriptions

Array[QuadRect] quad_rects = [] 🔗

There is currently no description for this property. Please help us by contributing one!


int quadrant_count = 0 🔗

  • void set_quadrant_count(value: int)

  • int get_quadrant_count()

There is currently no description for this property. Please help us by contributing one!


Array[QuadNode] quadrants = [null, null, null, null] 🔗

There is currently no description for this property. Please help us by contributing one!


Rect2i rect = Rect2i(0, 0, 0, 0) 🔗

  • void set_rect(value: Rect2i)

  • Rect2i get_rect()

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add(quad_rect: QuadRect) 🔗

There is currently no description for this method. Please help us by contributing one!


bool can_subdivide(size: Vector2i) static 🔗

There is currently no description for this method. Please help us by contributing one!


Array get_all_containing_point(point: Vector2i, exception_metadata: Variant = null) const 🔗

There is currently no description for this method. Please help us by contributing one!


Array get_all_under_rect(test_rect: Rect2i, exception_metadata: Variant = null) const 🔗

There is currently no description for this method. Please help us by contributing one!


QuadRect get_first_containing_point(point: Vector2i, exception_metadata: Variant = null) const 🔗

There is currently no description for this method. Please help us by contributing one!


QuadRect get_first_under_rect(test_rect: Rect2i, exception_metadata: Variant = null) const 🔗

There is currently no description for this method. Please help us by contributing one!


Array[Rect2i] get_quadrant_rects(rect: Rect2i) static 🔗

There is currently no description for this method. Please help us by contributing one!


bool is_empty() const 🔗

There is currently no description for this method. Please help us by contributing one!


bool remove(metadata: Variant) 🔗

There is currently no description for this method. Please help us by contributing one!