QueryResult3D

Inherits: RefCounted

Provides the query results with helper functions to get the best positions.

Description

Provides the query results with helper functions to get the best positions.

Methods

Array[Node3D]

get_all_node() const

Array[Vector3]

get_all_position() const

Array[QueryItem3D]

get_all_results() const

Node3D

get_highest_score_node() const

Vector3

get_highest_score_position() const

Node3D

get_top_random_node(percent: float = 0.1) const

Vector3

get_top_random_position(percent: float = 0.1) const

bool

has_result()


Method Descriptions

Array[Node3D] get_all_node() const 🔗

Returns all result Node3Ds within each QueryItem3D in ascending order based on score.


Array[Vector3] get_all_position() const 🔗

Returns result Vector3 position within each QueryItem3D in ascending order based on score.


Array[QueryItem3D] get_all_results() const 🔗

Returns all QueryItem3Ds.


Node3D get_highest_score_node() const 🔗

Returns the highest scoring node.


Vector3 get_highest_score_position() const 🔗

Returns the highest scoring position.


Node3D get_top_random_node(percent: float = 0.1) const 🔗

Returns a random node from the top percent from a range of 0-1.


Vector3 get_top_random_position(percent: float = 0.1) const 🔗

Returns a random position from the top percent from a range of 0-1.


bool has_result() 🔗

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