Physics2DShapeQueryResult

Result of a 2D shape query in Physics2DServer.

The result of a 2D shape query in Physics2DServer. See also Physics2DShapeQueryParameters.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

getResultCount
long getResultCount()

Returns the number of objects that intersected with the shape.

getResultObject
GodotObject getResultObject(long idx)

Returns the GodotObject that intersected with the shape at index idx.

getResultObjectId
long getResultObjectId(long idx)

Returns the instance ID of the GodotObject that intersected with the shape at index idx.

getResultObjectShape
long getResultObjectShape(long idx)

Returns the child index of the object's Shape that intersected with the shape at index idx.

getResultRid
RID getResultRid(long idx)

Returns the RID of the object that intersected with the shape at index idx.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(Physics2DShapeQueryResult other)
opEquals
bool opEquals(typeof(null) n)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
Physics2DShapeQueryResult _new()

Construct a new instance of Physics2DShapeQueryResult. Note: use memnew!Physics2DShapeQueryResult instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta