Files
godot-docs/classes/class_physicsserver3drenderingserverhandler.rst
2024-05-07 11:26:31 +00:00

127 lines
6.5 KiB
ReStructuredText

:github_url: hide
.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.2/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.2/doc/classes/PhysicsServer3DRenderingServerHandler.xml.
.. _class_PhysicsServer3DRenderingServerHandler:
PhysicsServer3DRenderingServerHandler
=====================================
**Inherits:** :ref:`Object<class_Object>`
A class used to provide :ref:`PhysicsServer3DExtension._soft_body_update_rendering_server<class_PhysicsServer3DExtension_private_method__soft_body_update_rendering_server>` with a rendering handler for soft bodies.
.. rst-class:: classref-reftable-group
Methods
-------
.. table::
:widths: auto
+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_set_aabb<class_PhysicsServer3DRenderingServerHandler_private_method__set_aabb>` **(** :ref:`AABB<class_AABB>` aabb **)** |virtual| |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_set_normal<class_PhysicsServer3DRenderingServerHandler_private_method__set_normal>` **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` normal **)** |virtual| |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_set_vertex<class_PhysicsServer3DRenderingServerHandler_private_method__set_vertex>` **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` vertex **)** |virtual| |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_aabb<class_PhysicsServer3DRenderingServerHandler_method_set_aabb>` **(** :ref:`AABB<class_AABB>` aabb **)** |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_normal<class_PhysicsServer3DRenderingServerHandler_method_set_normal>` **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` normal **)** |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_vertex<class_PhysicsServer3DRenderingServerHandler_method_set_vertex>` **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` vertex **)** |
+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Method Descriptions
-------------------
.. _class_PhysicsServer3DRenderingServerHandler_private_method__set_aabb:
.. rst-class:: classref-method
void **_set_aabb** **(** :ref:`AABB<class_AABB>` aabb **)** |virtual|
Called by the :ref:`PhysicsServer3D<class_PhysicsServer3D>` to set the bounding box for the :ref:`SoftBody3D<class_SoftBody3D>`.
.. rst-class:: classref-item-separator
----
.. _class_PhysicsServer3DRenderingServerHandler_private_method__set_normal:
.. rst-class:: classref-method
void **_set_normal** **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` normal **)** |virtual|
Called by the :ref:`PhysicsServer3D<class_PhysicsServer3D>` to set the normal for the :ref:`SoftBody3D<class_SoftBody3D>` vertex at the index specified by ``vertex_id``.
\ **Note:** The ``normal`` parameter used to be of type ``const void*`` prior to Godot 4.2.
.. rst-class:: classref-item-separator
----
.. _class_PhysicsServer3DRenderingServerHandler_private_method__set_vertex:
.. rst-class:: classref-method
void **_set_vertex** **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` vertex **)** |virtual|
Called by the :ref:`PhysicsServer3D<class_PhysicsServer3D>` to set the position for the :ref:`SoftBody3D<class_SoftBody3D>` vertex at the index specified by ``vertex_id``.
\ **Note:** The ``vertex`` parameter used to be of type ``const void*`` prior to Godot 4.2.
.. rst-class:: classref-item-separator
----
.. _class_PhysicsServer3DRenderingServerHandler_method_set_aabb:
.. rst-class:: classref-method
void **set_aabb** **(** :ref:`AABB<class_AABB>` aabb **)**
Sets the bounding box for the :ref:`SoftBody3D<class_SoftBody3D>`.
.. rst-class:: classref-item-separator
----
.. _class_PhysicsServer3DRenderingServerHandler_method_set_normal:
.. rst-class:: classref-method
void **set_normal** **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` normal **)**
Sets the normal for the :ref:`SoftBody3D<class_SoftBody3D>` vertex at the index specified by ``vertex_id``.
.. rst-class:: classref-item-separator
----
.. _class_PhysicsServer3DRenderingServerHandler_method_set_vertex:
.. rst-class:: classref-method
void **set_vertex** **(** :ref:`int<class_int>` vertex_id, :ref:`Vector3<class_Vector3>` vertex **)**
Sets the position for the :ref:`SoftBody3D<class_SoftBody3D>` vertex at the index specified by ``vertex_id``.
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`