class_gpuparticlescollisionheightfield3d.rst 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the GPUParticlesCollisionHeightField3D.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_GPUParticlesCollisionHeightField3D:
  6. GPUParticlesCollisionHeightField3D
  7. ==================================
  8. **Inherits:** :ref:`GPUParticlesCollision3D<class_GPUParticlesCollision3D>` **<** :ref:`VisualInstance3D<class_VisualInstance3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+----------------------+
  12. | :ref:`Vector3<class_Vector3>` | :ref:`extents<class_GPUParticlesCollisionHeightField3D_property_extents>` | ``Vector3(1, 1, 1)`` |
  13. +-----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+----------------------+
  14. | :ref:`bool<class_bool>` | :ref:`follow_camera_enabled<class_GPUParticlesCollisionHeightField3D_property_follow_camera_enabled>` | ``false`` |
  15. +-----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+----------------------+
  16. | :ref:`float<class_float>` | :ref:`follow_camera_push_ratio<class_GPUParticlesCollisionHeightField3D_property_follow_camera_push_ratio>` | ``0.1`` |
  17. +-----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+----------------------+
  18. | :ref:`Resolution<enum_GPUParticlesCollisionHeightField3D_Resolution>` | :ref:`resolution<class_GPUParticlesCollisionHeightField3D_property_resolution>` | ``2`` |
  19. +-----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+----------------------+
  20. | :ref:`UpdateMode<enum_GPUParticlesCollisionHeightField3D_UpdateMode>` | :ref:`update_mode<class_GPUParticlesCollisionHeightField3D_property_update_mode>` | ``0`` |
  21. +-----------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+----------------------+
  22. Enumerations
  23. ------------
  24. .. _enum_GPUParticlesCollisionHeightField3D_Resolution:
  25. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_256:
  26. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_512:
  27. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_1024:
  28. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_2048:
  29. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_4096:
  30. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_8192:
  31. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_MAX:
  32. enum **Resolution**:
  33. - **RESOLUTION_256** = **0**
  34. - **RESOLUTION_512** = **1**
  35. - **RESOLUTION_1024** = **2**
  36. - **RESOLUTION_2048** = **3**
  37. - **RESOLUTION_4096** = **4**
  38. - **RESOLUTION_8192** = **5**
  39. - **RESOLUTION_MAX** = **6**
  40. ----
  41. .. _enum_GPUParticlesCollisionHeightField3D_UpdateMode:
  42. .. _class_GPUParticlesCollisionHeightField3D_constant_UPDATE_MODE_WHEN_MOVED:
  43. .. _class_GPUParticlesCollisionHeightField3D_constant_UPDATE_MODE_ALWAYS:
  44. enum **UpdateMode**:
  45. - **UPDATE_MODE_WHEN_MOVED** = **0**
  46. - **UPDATE_MODE_ALWAYS** = **1**
  47. Property Descriptions
  48. ---------------------
  49. .. _class_GPUParticlesCollisionHeightField3D_property_extents:
  50. - :ref:`Vector3<class_Vector3>` **extents**
  51. +-----------+----------------------+
  52. | *Default* | ``Vector3(1, 1, 1)`` |
  53. +-----------+----------------------+
  54. | *Setter* | set_extents(value) |
  55. +-----------+----------------------+
  56. | *Getter* | get_extents() |
  57. +-----------+----------------------+
  58. ----
  59. .. _class_GPUParticlesCollisionHeightField3D_property_follow_camera_enabled:
  60. - :ref:`bool<class_bool>` **follow_camera_enabled**
  61. +-----------+---------------------------------+
  62. | *Default* | ``false`` |
  63. +-----------+---------------------------------+
  64. | *Setter* | set_follow_camera_mode(value) |
  65. +-----------+---------------------------------+
  66. | *Getter* | is_follow_camera_mode_enabled() |
  67. +-----------+---------------------------------+
  68. ----
  69. .. _class_GPUParticlesCollisionHeightField3D_property_follow_camera_push_ratio:
  70. - :ref:`float<class_float>` **follow_camera_push_ratio**
  71. +-----------+-------------------------------------+
  72. | *Default* | ``0.1`` |
  73. +-----------+-------------------------------------+
  74. | *Setter* | set_follow_camera_push_ratio(value) |
  75. +-----------+-------------------------------------+
  76. | *Getter* | get_follow_camera_push_ratio() |
  77. +-----------+-------------------------------------+
  78. ----
  79. .. _class_GPUParticlesCollisionHeightField3D_property_resolution:
  80. - :ref:`Resolution<enum_GPUParticlesCollisionHeightField3D_Resolution>` **resolution**
  81. +-----------+-----------------------+
  82. | *Default* | ``2`` |
  83. +-----------+-----------------------+
  84. | *Setter* | set_resolution(value) |
  85. +-----------+-----------------------+
  86. | *Getter* | get_resolution() |
  87. +-----------+-----------------------+
  88. ----
  89. .. _class_GPUParticlesCollisionHeightField3D_property_update_mode:
  90. - :ref:`UpdateMode<enum_GPUParticlesCollisionHeightField3D_UpdateMode>` **update_mode**
  91. +-----------+------------------------+
  92. | *Default* | ``0`` |
  93. +-----------+------------------------+
  94. | *Setter* | set_update_mode(value) |
  95. +-----------+------------------------+
  96. | *Getter* | get_update_mode() |
  97. +-----------+------------------------+
  98. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  99. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  100. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  101. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  102. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  103. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`