mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
114 lines
7.6 KiB
ReStructuredText
114 lines
7.6 KiB
ReStructuredText
.. _class_Physics2DShapeQueryParameters:
|
|
|
|
Physics2DShapeQueryParameters
|
|
=============================
|
|
|
|
**Inherits:** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_shape<class_Physics2DShapeQueryParameters_set_shape>` **(** :ref:`Shape2D<class_shape2d>` shape **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_shape_rid<class_Physics2DShapeQueryParameters_set_shape_rid>` **(** :ref:`RID<class_rid>` shape **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`RID<class_rid>` | :ref:`get_shape_rid<class_Physics2DShapeQueryParameters_get_shape_rid>` **(** **)** const |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_transform<class_Physics2DShapeQueryParameters_set_transform>` **(** :ref:`Matrix32<class_matrix32>` transform **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Matrix32<class_matrix32>` | :ref:`get_transform<class_Physics2DShapeQueryParameters_get_transform>` **(** **)** const |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_motion<class_Physics2DShapeQueryParameters_set_motion>` **(** :ref:`Vector2<class_vector2>` motion **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Vector2<class_vector2>` | :ref:`get_motion<class_Physics2DShapeQueryParameters_get_motion>` **(** **)** const |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_margin<class_Physics2DShapeQueryParameters_set_margin>` **(** :ref:`float<class_float>` margin **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_margin<class_Physics2DShapeQueryParameters_get_margin>` **(** **)** const |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_layer_mask<class_Physics2DShapeQueryParameters_set_layer_mask>` **(** :ref:`int<class_int>` layer_mask **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_layer_mask<class_Physics2DShapeQueryParameters_get_layer_mask>` **(** **)** const |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_object_type_mask<class_Physics2DShapeQueryParameters_set_object_type_mask>` **(** :ref:`int<class_int>` object_type_mask **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_object_type_mask<class_Physics2DShapeQueryParameters_get_object_type_mask>` **(** **)** const |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_exclude<class_Physics2DShapeQueryParameters_set_exclude>` **(** :ref:`Array<class_array>` exclude **)** |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Array<class_array>` | :ref:`get_exclude<class_Physics2DShapeQueryParameters_get_exclude>` **(** **)** const |
|
|
+----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_shape:
|
|
|
|
- void **set_shape** **(** :ref:`Shape2D<class_shape2d>` shape **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_shape_rid:
|
|
|
|
- void **set_shape_rid** **(** :ref:`RID<class_rid>` shape **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_get_shape_rid:
|
|
|
|
- :ref:`RID<class_rid>` **get_shape_rid** **(** **)** const
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_transform:
|
|
|
|
- void **set_transform** **(** :ref:`Matrix32<class_matrix32>` transform **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_get_transform:
|
|
|
|
- :ref:`Matrix32<class_matrix32>` **get_transform** **(** **)** const
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_motion:
|
|
|
|
- void **set_motion** **(** :ref:`Vector2<class_vector2>` motion **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_get_motion:
|
|
|
|
- :ref:`Vector2<class_vector2>` **get_motion** **(** **)** const
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_margin:
|
|
|
|
- void **set_margin** **(** :ref:`float<class_float>` margin **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_get_margin:
|
|
|
|
- :ref:`float<class_float>` **get_margin** **(** **)** const
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_layer_mask:
|
|
|
|
- void **set_layer_mask** **(** :ref:`int<class_int>` layer_mask **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_get_layer_mask:
|
|
|
|
- :ref:`int<class_int>` **get_layer_mask** **(** **)** const
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_object_type_mask:
|
|
|
|
- void **set_object_type_mask** **(** :ref:`int<class_int>` object_type_mask **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_get_object_type_mask:
|
|
|
|
- :ref:`int<class_int>` **get_object_type_mask** **(** **)** const
|
|
|
|
.. _class_Physics2DShapeQueryParameters_set_exclude:
|
|
|
|
- void **set_exclude** **(** :ref:`Array<class_array>` exclude **)**
|
|
|
|
.. _class_Physics2DShapeQueryParameters_get_exclude:
|
|
|
|
- :ref:`Array<class_array>` **get_exclude** **(** **)** const
|
|
|
|
|