class_physicspointqueryparameters3d.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicsPointQueryParameters3D.xml.
  6. .. _class_PhysicsPointQueryParameters3D:
  7. PhysicsPointQueryParameters3D
  8. =============================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Parameters to be sent to a 3D point physics query.
  11. Description
  12. -----------
  13. This class contains the position and other parameters to be used for :ref:`PhysicsDirectSpaceState3D.intersect_point<class_PhysicsDirectSpaceState3D_method_intersect_point>`.
  14. Properties
  15. ----------
  16. +-------------------------------+----------------------------------------------------------------------------------------------+----------------------+
  17. | :ref:`bool<class_bool>` | :ref:`collide_with_areas<class_PhysicsPointQueryParameters3D_property_collide_with_areas>` | ``false`` |
  18. +-------------------------------+----------------------------------------------------------------------------------------------+----------------------+
  19. | :ref:`bool<class_bool>` | :ref:`collide_with_bodies<class_PhysicsPointQueryParameters3D_property_collide_with_bodies>` | ``true`` |
  20. +-------------------------------+----------------------------------------------------------------------------------------------+----------------------+
  21. | :ref:`int<class_int>` | :ref:`collision_mask<class_PhysicsPointQueryParameters3D_property_collision_mask>` | ``4294967295`` |
  22. +-------------------------------+----------------------------------------------------------------------------------------------+----------------------+
  23. | :ref:`Array<class_Array>` | :ref:`exclude<class_PhysicsPointQueryParameters3D_property_exclude>` | ``[]`` |
  24. +-------------------------------+----------------------------------------------------------------------------------------------+----------------------+
  25. | :ref:`Vector3<class_Vector3>` | :ref:`position<class_PhysicsPointQueryParameters3D_property_position>` | ``Vector3(0, 0, 0)`` |
  26. +-------------------------------+----------------------------------------------------------------------------------------------+----------------------+
  27. Property Descriptions
  28. ---------------------
  29. .. _class_PhysicsPointQueryParameters3D_property_collide_with_areas:
  30. - :ref:`bool<class_bool>` **collide_with_areas**
  31. +-----------+---------------------------------+
  32. | *Default* | ``false`` |
  33. +-----------+---------------------------------+
  34. | *Setter* | set_collide_with_areas(value) |
  35. +-----------+---------------------------------+
  36. | *Getter* | is_collide_with_areas_enabled() |
  37. +-----------+---------------------------------+
  38. If ``true``, the query will take :ref:`Area3D<class_Area3D>`\ s into account.
  39. ----
  40. .. _class_PhysicsPointQueryParameters3D_property_collide_with_bodies:
  41. - :ref:`bool<class_bool>` **collide_with_bodies**
  42. +-----------+----------------------------------+
  43. | *Default* | ``true`` |
  44. +-----------+----------------------------------+
  45. | *Setter* | set_collide_with_bodies(value) |
  46. +-----------+----------------------------------+
  47. | *Getter* | is_collide_with_bodies_enabled() |
  48. +-----------+----------------------------------+
  49. If ``true``, the query will take :ref:`PhysicsBody3D<class_PhysicsBody3D>`\ s into account.
  50. ----
  51. .. _class_PhysicsPointQueryParameters3D_property_collision_mask:
  52. - :ref:`int<class_int>` **collision_mask**
  53. +-----------+---------------------------+
  54. | *Default* | ``4294967295`` |
  55. +-----------+---------------------------+
  56. | *Setter* | set_collision_mask(value) |
  57. +-----------+---------------------------+
  58. | *Getter* | get_collision_mask() |
  59. +-----------+---------------------------+
  60. The physics layers the query will detect (as a bitmask). By default, all collision layers are detected. See `Collision layers and masks <../tutorials/physics/physics_introduction.html#collision-layers-and-masks>`__ in the documentation for more information.
  61. ----
  62. .. _class_PhysicsPointQueryParameters3D_property_exclude:
  63. - :ref:`Array<class_Array>` **exclude**
  64. +-----------+--------------------+
  65. | *Default* | ``[]`` |
  66. +-----------+--------------------+
  67. | *Setter* | set_exclude(value) |
  68. +-----------+--------------------+
  69. | *Getter* | get_exclude() |
  70. +-----------+--------------------+
  71. The list of objects or object :ref:`RID<class_RID>`\ s that will be excluded from collisions.
  72. ----
  73. .. _class_PhysicsPointQueryParameters3D_property_position:
  74. - :ref:`Vector3<class_Vector3>` **position**
  75. +-----------+----------------------+
  76. | *Default* | ``Vector3(0, 0, 0)`` |
  77. +-----------+----------------------+
  78. | *Setter* | set_position(value) |
  79. +-----------+----------------------+
  80. | *Getter* | get_position() |
  81. +-----------+----------------------+
  82. The position being queried for, in global coordinates.
  83. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  84. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  85. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  86. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  87. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  88. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`