Area2D

Inherits: CollisionObject2D < Node2D < CanvasItem < Node < Object

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

Properties

float

angular_damp

1.0

SpaceOverride

angular_damp_space_override

0

StringName

audio_bus_name

&"Master"

bool

audio_bus_override

false

float

gravity

980.0

Vector2

gravity_direction

Vector2(0, 1)

bool

gravity_point

false

Vector2

gravity_point_center

Vector2(0, 1)

float

gravity_point_unit_distance

0.0

SpaceOverride

gravity_space_override

0

float

linear_damp

0.1

SpaceOverride

linear_damp_space_override

0

bool

monitorable

true

bool

monitoring

true

int

priority

0

Methods

Area2D[]

get_overlapping_areas ( ) const

Node2D[]

get_overlapping_bodies ( ) const

bool

has_overlapping_areas ( ) const

bool

has_overlapping_bodies ( ) const

bool

overlaps_area ( Node area ) const

bool

overlaps_body ( Node body ) const


Signals

area_entered ( Area2D area )

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


area_exited ( Area2D area )

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


area_shape_entered ( RID area_rid, Area2D area, int area_shape_index, int local_shape_index )

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


area_shape_exited ( RID area_rid, Area2D area, int area_shape_index, int local_shape_index )

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


body_entered ( Node2D body )

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


body_exited ( Node2D body )

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


body_shape_entered ( RID body_rid, Node2D body, int body_shape_index, int local_shape_index )

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


body_shape_exited ( RID body_rid, Node2D body, int body_shape_index, int local_shape_index )

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


Enumerations

enum SpaceOverride:

SpaceOverride SPACE_OVERRIDE_DISABLED = 0

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

SpaceOverride SPACE_OVERRIDE_COMBINE = 1

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

SpaceOverride SPACE_OVERRIDE_COMBINE_REPLACE = 2

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

SpaceOverride SPACE_OVERRIDE_REPLACE = 3

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

SpaceOverride SPACE_OVERRIDE_REPLACE_COMBINE = 4

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


Property Descriptions

float angular_damp = 1.0

  • void set_angular_damp ( float value )

  • float get_angular_damp ( )

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


SpaceOverride angular_damp_space_override = 0

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


StringName audio_bus_name = &"Master"

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


bool audio_bus_override = false

  • void set_audio_bus_override ( bool value )

  • bool is_overriding_audio_bus ( )

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


float gravity = 980.0

  • void set_gravity ( float value )

  • float get_gravity ( )

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


Vector2 gravity_direction = Vector2(0, 1)

  • void set_gravity_direction ( Vector2 value )

  • Vector2 get_gravity_direction ( )

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


bool gravity_point = false

  • void set_gravity_is_point ( bool value )

  • bool is_gravity_a_point ( )

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


Vector2 gravity_point_center = Vector2(0, 1)

  • void set_gravity_point_center ( Vector2 value )

  • Vector2 get_gravity_point_center ( )

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


float gravity_point_unit_distance = 0.0

  • void set_gravity_point_unit_distance ( float value )

  • float get_gravity_point_unit_distance ( )

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


SpaceOverride gravity_space_override = 0

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


float linear_damp = 0.1

  • void set_linear_damp ( float value )

  • float get_linear_damp ( )

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


SpaceOverride linear_damp_space_override = 0

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


bool monitorable = true

  • void set_monitorable ( bool value )

  • bool is_monitorable ( )

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


bool monitoring = true

  • void set_monitoring ( bool value )

  • bool is_monitoring ( )

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


int priority = 0

  • void set_priority ( int value )

  • int get_priority ( )

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


Method Descriptions

Area2D[] get_overlapping_areas ( ) const

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


Node2D[] get_overlapping_bodies ( ) const

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


bool has_overlapping_areas ( ) const

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


bool has_overlapping_bodies ( ) const

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


bool overlaps_area ( Node area ) const

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


bool overlaps_body ( Node body ) const

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