:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicsServer3DRenderingServerHandler.xml. .. _class_PhysicsServer3DRenderingServerHandler: PhysicsServer3DRenderingServerHandler ===================================== **Inherits:** :ref:`Object` A class used to provide :ref:`PhysicsServer3DExtension._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`\ (\ aabb\: :ref:`AABB`\ ) |virtual| |required| | +--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`_set_normal`\ (\ vertex_id\: :ref:`int`, normal\: :ref:`Vector3`\ ) |virtual| |required| | +--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`_set_vertex`\ (\ vertex_id\: :ref:`int`, vertex\: :ref:`Vector3`\ ) |virtual| |required| | +--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_aabb`\ (\ aabb\: :ref:`AABB`\ ) | +--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_normal`\ (\ vertex_id\: :ref:`int`, normal\: :ref:`Vector3`\ ) | +--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_vertex`\ (\ vertex_id\: :ref:`int`, vertex\: :ref:`Vector3`\ ) | +--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. 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**\ (\ aabb\: :ref:`AABB`\ ) |virtual| |required| :ref:`🔗` Called by the :ref:`PhysicsServer3D` to set the bounding box for the :ref:`SoftBody3D`. .. rst-class:: classref-item-separator ---- .. _class_PhysicsServer3DRenderingServerHandler_private_method__set_normal: .. rst-class:: classref-method |void| **_set_normal**\ (\ vertex_id\: :ref:`int`, normal\: :ref:`Vector3`\ ) |virtual| |required| :ref:`🔗` Called by the :ref:`PhysicsServer3D` to set the normal for the :ref:`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**\ (\ vertex_id\: :ref:`int`, vertex\: :ref:`Vector3`\ ) |virtual| |required| :ref:`🔗` Called by the :ref:`PhysicsServer3D` to set the position for the :ref:`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**\ (\ aabb\: :ref:`AABB`\ ) :ref:`🔗` Sets the bounding box for the :ref:`SoftBody3D`. .. rst-class:: classref-item-separator ---- .. _class_PhysicsServer3DRenderingServerHandler_method_set_normal: .. rst-class:: classref-method |void| **set_normal**\ (\ vertex_id\: :ref:`int`, normal\: :ref:`Vector3`\ ) :ref:`🔗` Sets the normal for the :ref:`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**\ (\ vertex_id\: :ref:`int`, vertex\: :ref:`Vector3`\ ) :ref:`🔗` Sets the position for the :ref:`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.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |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.)` .. |void| replace:: :abbr:`void (No return value.)`